Posts

Contribute to this Website

Published at November 19, 2018 ·  2 min read

Overview: How to Contribute Fork the GitHub repo that houses the content for the website. You will need an account on GitHub to do this. Make edits to your own fork, preferably on a branch other than master. Optionally, run a local copy of Hugo to verify the site renders as expected....

How to Open and Read Files

Published at December 4, 2018 ·  4 min read

File I/O: Just Enough To Be Dangerous Up to now most of the course exercises have you working with data that is embedded in the Python code. While this is a good place to start, things become much more interesting when we can pull in data from an external source such as a file....

How to Set Up a Virtual Environment

Published at June 13, 2019 ·  4 min read

Motivation Python applications often require different versions of libraries that can conflict when multiple projects are used on the same system. Virtual environments provide a way to avoid this problem by isolating each project into its own sandbox, keeping downloaded libraries separate from other projects....