Posting to the Twitter API

Posted by: barbara | Date: Apr 05, 2009 | Category: python | Comments: 5

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 | Comments: 1

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

converting tabs to spaces in vi

Posted by: barbara | Date: Nov 06, 2008 | Category: mac os x python | Comments: 3
This is mostly for my own personal reference - just one of those little things I use frequently and always forget how to set up:

If you're writing Python, then you know that indentation is, uhm, somewhat important. Mkay. I use four space indentation as a standard, but ...

Read More

Python 3.0 makes a big break

Posted by: barbara | Date: Oct 16, 2008 | Category: python | Comments: 0
Python 3.0 makes a big break [Linux.com]

Read More

Python up there with the Eiffel Tower and Cory Doctorow

Posted by: barbara | Date: Sep 29, 2008 | Category: geek humor python | Comments: 0


Read More