I'm Paul Bissex. I build web applications using open source software, especially Django. In the '90s I did graphic design for newspapers and magazines. Then I wrote technology commentary and reviews for Wired, Salon.com, Chicago Tribune, and lots of little places you've never heard of. Then I taught photographers how to create good websites. I co-wrote a book along the way. Now I am helping turn a giant media corporation into a digital enterprise. Feel free to email me.
I'm co-author of "Python Web Development with Django", an excellent guide to my favorite web framework. Published by Addison-Wesley, it is available from Amazon and your favorite technical bookstore as well.
Built using Django, served by Apache and mod_wsgi. The database is SQLite. The operating system is FreeBSD, on a VPS hosted at Johncompanies.com. Comment-spam protection by Akismet. Vintage topo imagery from the Maptech archive. The markup engine is Markdown.
Akismet, bitbucket, del.icio.us, Django, Emacs, FreeBSD, Git, jQuery, LaunchBar, Markdown, Mercurial, OS X, Postfix, Python, Review Board, S3, SQLite, TextMate, Ubuntu Linux
At least 185466 pieces of comment spam killed since January 2008, mostly via Akismet.
Somewhat belatedly I've started using Jason Orendorff's path module for Python. It's great. Here's a comparison with the stock os.path facilities, grabbed from Jason's site:
# with os.path.walk
def delete_backups(arg, dirname, names):
for name in names:
if name.endswith('~'):
os.remove(os.path.join(dirname, name))
os.path.walk(os.environ['HOME'], delete_backups, None)
# with path
d = path(os.environ['HOME'])
for f in d.walkfiles('*~'):
f.remove()
The second snippet is not just shorter, it's easier to read and easier to write. I'm writing some code to recursively process a tree of short text files (Blosxom entries), and the path module is a godsend. If you're curious, see the description and examples on Jason's site; he also posted some interesting comments on Ian Bicking's blog about the design of the module.
I gather that there was significant interest in getting some version of this module included in Python 2.5, but I don't see any mention of it in the release notes. There's PEP 355 and a python-dev discussion from January. But unless I missed something (I'm still mostly using Python 2.4), it's not in 2.5 in any form. Here's hoping it makes it into 2.6...
GvR just said the path module will not get into Python so... that's it.
Yeah, I saw that and added my "bummer" update link above. Oh well. I guess it will just be part of my own little library for now.
Thanks for reading! Please note: Your comment will not appear until approved, which may take a few hours or more. Spammers will be torpedoed.
Booktools
2 comments
A different kind of URL shortener
4 comments
The syncbox
2 comments
Branching and merging in real life
8 comments
Marko Knöbl
Understanding tuples vs. lists in Python
7 days ago
Marko Knöbl
Understanding tuples vs. lists in Python
8 days ago
Matt Stevens
Understanding tuples vs. lists in Python
76 days ago
Chirag
Understanding tuples vs. lists in Python
85 days ago
B.J. Justice
Trying to send eBay a message?
111 days ago
Copyright 2013
by Paul Bissex
and E-Scribe New Media
Seems someone heard you: http://mail.python.org/pipermail/python-dev/2006-September/069059.html