Posting to the Twitter API

Posted by: barbara | Date: Apr 05, 2009 | Category: Python

Just to provide a little bit of context, I'm working on a project that will be similar to secrettweet. Users will be able to post anonymous messages. Those messages will be reviewed manually through the Django admin, and once they're approved, they'll be posted to a Twitter account through ...

Read More

Simple Parsing Script

Posted by: barbara | Date: Apr 04, 2009 | Category: Python

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.

CUSTOMERORDERS_20090401.txt

 #!/usr/bin/python # usage: ./parser.py CUSTOMERORDERS_20090401.txt # don't forget ...

Read More

PyCon 2009 Wrap-Up

Posted by: barbara | Date: Apr 01, 2009 | Category: PyCon

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

Posted by: barbara | Date: Mar 25, 2009 | Category: ald09 Girl Geeks

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

Posted by: barbara | Date: Dec 01, 2008 | Category: Mac OS X

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