Aggregating A Python Error Summary from Log Files

Follow these steps to maintain more reliable scripts and catch more of your traceback errors: automate your scripts to run daily, weekly, monthly, etc. Log all your traceback errors with the logging module. I like dumping all of my logs into a single folder. automate aggregating the logs and parsing tracebacks start a feedback loop […]

Scripting As Simplified Cognition (How to Catch A Flight)

Follow the three step path to enlightenment and productivity gained: Write scripts. Follow them manually. Refine and automate if preferable. Below I “scripted” out catching my flight from Chicago’s O’hare Airport to Denver. Writing things down is often the first step to realizing what needs done. Ideally, you’d turn those written steps into a script […]

Script Windows Like A Pro: Command Line, Batch Files, Remote Desktop Connection and pywin32

Here are a few useful corners of the vast array of Windows scripting tools. Helpful Windows Command Line Documentation Windows command line Documentation Syntax Command-line reference A-Z Command shell overview Using command redirection operators About Windows Remote Management A Few General Windows Commands Use find to look in a text file to count the lines […]

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