Morrie the Toupee Salesman

By Owen Byrne

Morrie the Toupee Salesman header image 2

Some Random Python Links

May 9th, 2008 · No Comments

It’s probably obvious from the last few entries here that I’m attempting to remake myself as a python programmer. It isn’t a terribly hard task, in fact the language in and of itself is quite fun to learn and use. Some not obvious links I’ve found to be of use:

David Goodger’s Style Guide is great. At this point I don’t feel like I’m writing idiomatic Python, though I feel I’ve mostly mastered the syntax, so grasping common idioms is key right now.

urllib2 - The Missing Manual mostly lives up to its own hype in helping to explain a few of the weirder parts of urllib and urllib2 - libraries for retrieving remote html and xml pages from the web.

And finally this page has several nice examples of dealing with dates and stuff.

Totally Irrelevant Update: While clicking around David Goodger’s site I discovered in his resume this line:

JOHN ABBOTT COLLEGE CEGEP, Ste. Anne de Bellevue, Québec, Canada.
Pure and Applied Sciences.

He didn’t put any years on there, so I’m going to assume we were actually classmates ;-).

Another Totally Irrelevant Update: I love this sentence, seen in another Python style guide (about comments):

“When writing English, Strunk and White apply.” Though since they’re referring to a book, rather than to all the pronouncements of Strunk and White then shouldn’t it be “applies?”

Tags: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment