Documentation is the Gateway to Delegation

The first step to offloading a task is writing down how to complete it. Once the process is typed into a lean text file or wiki page, it can be learned by another human. This helps your team, but what’s in it for you? The most selfish programmers probably want to free up their time […]

Experiencing Flow While Coding

Yesterday, I experienced a flow state where I became manically obsessed with perfecting a script I was working on. I think it’s beautiful code, about 100 lines long without docstrings. It solves a real need and it felt great to write it. Some scripts feel terrible to write and you know they’re bad. However, this […]

In Praise of Resource Scoping

When assessing your environment, problem or your goal, meticulously scout the tools at your disposal. When you’re learning a new job, a new project or a programming language’s tools for example, it pays to have a grasp of your options. Researching what documentation, guides, tools or libraries are at your disposal will help you accomplish […]

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, […]

Automated Python With Windows Task Scheduler

So you want to run your Python scripts automatically, but how? I had heard of several popular scheduling libraries in Python like celery, Invoke, and schedule. One of my requirements is to run the python file “in the background”, not in command prompt or an open window. Enter Windows Task Scheduler, the de facto scheduler on […]