Lightning Scripts ⚡

You may or may not be familiar with PyCon‘s Lightning Talks, a session of quick hitter talks given each year on a variety of topics. These “Lightning Scripts” are ten of my favorite Python scripts that have served me well as of late to perform a variety of tasks. Highlights include the glob, os, calendar, […]

The Joy of Logging With Python

In painting and coding, there are no mistakes, only happy accidents.  Fortunately when errors happen, Python affords us its stock ‘logging‘ module, which sometimes catches flak in the community for its syntax and documentation. After poking around this module, I’ve found it quite suitable to my needs. Thanks to the logging module, I’m catching my […]

Gooey GUI for Python Scripts

GUI stands for “Graphical User Interface”, aka the part of a program designed for human interaction. Adding a GUI to a Python script allows anyone to run it without having to code or use the command line. There are several GUI libraries in Python. A few I have heard of are Tkinter (comes in the […]

Creating Isolated Python Environments with Virtualenv

Why bother? Because with virtualenv, we can create multiple Python environments on one computer that each: Are capable of running different versions of Python. Right now I have both Python 2.7 and Python 3.8 installed and am able to create either environment and run code with that version’s Python interpreter. Isolate dependencies for external libraries. […]


pytudes – “This project contains pytudes—Python programs for perfecting programming skills.” Building a video synthesizer in Python Running micropython on a microcontroller Pandas – Super awesome excel and data analysis library. The talk, “Pandas from the Ground Up” by Brandon Rhodes is great! Fuzzy Wuzzy – Fuzzy string matching python library, written by SeatGeek Talk Python […]

Python File Handling Basics

The basis of many great programs revolve around a simple set of operations: Open a file. Do something with the file contents. Save the new file for the user. Python is nice and simple for this. Paste the below lines into a text editor and save as a .py file. You need to have Python 3 […]