Simple Parsing Script
A simple script to parse plain text files (in this case pipe-delimited), then write the rows to a table. Take a look at the sample text file - the fields in the first row should match the column headers.
#!/usr/bin/python # usage: ./parser.py CUSTOMERORDERS_20090401.txt # don't forget ...
Read More
PyCon 2009 Wrap-Up
I was a little nervous about going - with less than a year of Python under my belt, I still feel like a relative newbie. And the last few months of my life have been dominated by PHP (hey, that's what pays the bills).
But I'm so glad I went. ...
Read More
Happy (belated) Ada Lovelace Day
Whoa, look at the date on that last post. A lot has changed since then - I went back to work in a PHP shop, all the while intending to keep doing Python/Django on the side, but I haven't been able to make as much time for that as I ...
Read More
The ubiquity of vi
Whenever a conversation about tools comes up, I find myself, inevitably, putting on a sheepish grin and confessing that yes, in fact, I am a vi user.
And I'll be honest - in my early days as a developer, I just wanted to earn a little respect.
Go ahead, make ...
Read More





