Tag Archives: Python

Script to find longest running events in log files

While I have found the logging format described in this post to be useful in my scripts, once you get past a few lines, it gets hard to track what took the longest. I wanted to be able to see … Continue reading

Posted in Programming | Tagged , , | Leave a comment

PyCon 2009: Thoughts and observations

I had hoped to post entries each day at PyCon 2009, but since the exquisite Hyatt Regency O’Hare lacked the basic human right of free WiFi, and since I didn’t feel like filling T-Mobile’s coffers for access, my connectivity to … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Running MySQL queries in Python

Being able to access MySQL databases in Python opens up quite a wide range of possibilities. It’s essential for a number of tasks such as connecting disparate datasources, performing maintenance, running regular updates, and more. While there are a number … Continue reading

Posted in MySQL, Programming | Tagged , , , , | 5 Comments

Simple and effective Python logging

I have been using the quite capable logging module for all of my logging in Python programs for some time. After trying a number of different options and formats, I have stabilized my setup into what I will describe below. … Continue reading

Posted in Programming | Tagged , , , | 7 Comments

Python Programming: An Introduction to Computer Science

Dr. John Zelle‘s book Python Programming: An Introduction to Computer Science is a fun and thoughtful introduction to computer science, using Python as the vehicle of example and experiment. Thus two useful skills are engendered together, without becoming overly mired … Continue reading

Posted in Book Review, Programming | Tagged , , | 6 Comments