I hereby claim:
- I am ericmjl on github.
- I am ericmjl (https://keybase.io/ericmjl) on keybase.
- I have a public key ASDNk9QK4hNKxUF5M9i0NHwP7ndUeUx2SpHYn5jhmavuxgo
To claim this, I am signing this object:
import streamlit as st | |
import pandas as pd | |
st.title("A Careful Walk Through Probability Distributions with Python") | |
st.markdown(""" | |
_By Eric J. Ma, for PyCon 2020_ | |
Hey there! Thanks for stopping by. |
I hereby claim:
To claim this, I am signing this object:
import os | |
from PyPDF2 import PdfFileReader, PdfFileMerger | |
files_dir = os.getcwd() | |
if 'stripped' not in os.listdir(files_dir): | |
os.mkdir('stripped') | |
for f in os.listdir(files_dir): |
from PIL import Image | |
def read_img(fname): | |
b = Image.open("images/{fname}_b.bmp".format(fname=fname)) | |
r = Image.open("images/{fname}_r.bmp".format(fname=fname)) | |
return b, r | |
def display(fname, epd): | |
b, r = read_img(fname) |