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

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

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

Algorithms Will Decide The Future

Algorithm: a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. I recently read “Homo Deus“, a book by Yuval Noah Harari. It explores the idea that humans may simply be algorithmic decision making systems. AKA self-aware, self-learning algorithms. There are many parallels between a human and […]

Should You Go To Programming School?

There is no one-size-fits-all answer. Below are some thoughts that may help you decide. What are your programming goals? Get a coding job? Create an app or website? Become more productive at your current job? What is your current experience level? Are you starting fresh or do you already know a language or two? Do […]

Cycles

We move in cycles. Work, rest, re-energize, play, repeat. The rhythm of life. I began my coding endeavors in the fall of 2015. After 6 months of steady coding practice and studying, I went from no knowledge to a basic hobbyist programmer capable of creating a website with the help of a framework. I published […]