This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import matplotlib.pyplot as plt | |
import matplotlib.colors | |
from collections import Counter | |
import numpy as np | |
alphabet = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ") | |
random_weights = [random.randint(1, len(alphabet)) | |
for _ in range(len(alphabet) - 1)] + [len(alphabet) * 10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions to install Python starting from scratch on MacOS | |
# NOTE: Lines starting with # should not be executed, they are comments | |
# that are only for human-readable instructions. | |
# 1. Install developer tools | |
xcode-select --install | |
# This will start a little installer dialog. | |
# Let this finish and close it out when it's done. |