8 Promising Python Static Site Generators

A static site generator creates static HTML and markdown files to serve as a website. They’re commonly used to host blogs but not exclusively. I recently researched my options to roll a static site in Python. I’m assessing a few of them as a potential future self-hosted blogging solution for this WordPress blog. Or maybe […]

How to Check if a Python Variable is a Tuple

Tonight I Googled “how to check if a variable is a tuple”, expecting to find a Stack Overflow isinstance() snippet. Instead, I found that i could use Python’s type built-in to check if my variable is a tuple: I thought that looked like a good solution until I found a section in PEP 8, Python’s […]

Did You Read the Whole Error?

You read the whole thing front to back? Every word? Stop and think about it. What is the computer trying to tell you? Sometimes something is obvious but needs to be reminded. I found myself thinking this yet again today. Often there are times where I would have saved some time and grief by carefully […]

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

So You Want to Learn Python?

Here are a few Python concepts for beginners to explore if you are starting out with the language. In this post, I’ll highlight my favorite “must-learn” tools to master that come with your Python installation. Understanding them will make you a more capable Python programmer and problem solver. 1. Built-in Functions. They are awesome! You […]

20 Eclectic Computer Science Wikipedia Articles

Here are 20 random technology-oriented Wikipedia links I recently collected after re-organizing troves of bookmarked links accumulated over the past few years. These articles peek into the wide variety of things to learn about that exist in Computer Science. ABL. Always. Be. Learning. Curiosity and well organized browser bookmarks are your friend. I support Wikipedia […]