converting tabs to spaces in vi

Posted by: barbara | Date: Nov 06, 2008 | Category: mac os x python | Comments: 2
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

This just in: Python somewhere between the Eiffel Tower and Cory Doctorow

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

Read More

Super simple pagination, WITHOUT using Django's Paginator object

Posted by: barbara | Date: Sep 25, 2008 | Category: django python | Comments: 0
Once again, I've been struggling with pagination. It's not that I don't like Django's Paginator object ... it's that ... well, okay, I don't like it. Anyway, I just needed something painfully simple for this site, and Paginator seemed a little like overkill.

So here's my super-simple ...

Read More

Using Python str, datetime, lists and sets to group dates

Posted by: barbara | Date: Sep 21, 2008 | Category: django python | Comments: 1
I'm in the process of writing my own blog app (project 'belleville'), one that will eventually replace the Wordpress blog that this site is using, and one of the things I need is a templatetag for the sidebar that lists archive dates, grouped by month - it should look ...

Read More