Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
''' | |
Most heatmap tutorials I found online use pyplot.pcolormesh with random sets of | |
data from Numpy; I just needed to plot x, y, z values stored in lists--without | |
all the Numpy mumbo jumbo. Here I have code to plot intensity on a 2D array, and | |
I only use Numpy where I need to (pcolormesh expects Numpy arrays as inputs). | |
''' | |
import matplotlib.pyplot as plt | |
import numpy as np | |
#here's our data to plot, all normal Python lists |
Using Requests and Beautiful Soup, with the most recent Beautiful Soup 4 docs.
Install our tools (preferably in a new virtualenv):
pip install beautifulsoup4
from flask import Flask | |
from flask import request | |
import json | |
import requests | |
import hashlib as hasher | |
import datetime as date | |
node = Flask(__name__) | |
# Define what a Snakecoin block is | |
class Block: |
Download the latest Lua and LuaJIT sources
Create temporary folder for Lua sources.
I assume you would use C:\Temp\
folder.
Visit Lua FTP webpage and download the latest Lua source archive, currently it is lua-5.4.3.tar.gz