Kyle's Place somewhere to put my thoughts

Installing PyQt5 on Mac OS X

I am learning how to use PyQt to create a Python GUI. These are the steps in installing PyQt5 on Mac OS X. I am running El Capitan 10.11.4 with Homebrew.

Comments

Python Virtual Environments Cheat Sheet

Virtual environments make using Python a bit more manageable, especially when it comes to deploying Python programs and creating the requirements (able to use pip freeze > requirements.txt and only use packages necessary to that individual project). However, I commonly find myself forgetting some of the more basic commands. For Python 2 use pip, for Python 3 use pip3.

Comments

BytesIO to POST file with requests

I have been working on a project that prohibits me from saving files to disk. In my case, I needed to download an image from a website and upload that image elsewhere.

Comments