CPython Dev w/ Docker

Post by Saul Shanabrook

python, docker, cpython

TLDR To start developing on CPython (requires working Docker install): sudo pip install hg-git echo '[extensions] hgext.bookmarks = hggit = eol = ' > ~/.hgrc hg clone -U https://hg.python.org/cpython cd cpython # this is needed on windows hosts so that they use linux # line endings. however it means…

Colgate Schedule

Post by Saul Shanabrook

python, scraping, colgate, flask

When I got to Colgate, I signed up for all my classes and got a nice schedule overview on their student portal. I have become a little addicted to Google Calendar, so I obviously wanted to add all of my classes. However, it seemed a little boring to parse all…

Requests, Timeout, and Odd Traceback

Post by Saul Shanabrook

requests, python

I am working on a Python API for DC campaign finance records, and I started getting an odd error with Requests. Traceback (most recent call last): File "/Users/saul/.virtualenvs/finance-scraper3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 493, in urlopen body=body, headers=headers) File "/Users/…