Windows XP timezone language issue

2007-06-12 Thread Paul Sijben
I ran into an internationalization issue. I need a consistent idea about the timezone my application is running on. However when I run the following: >>> import time >>> time.tzname I get back ('West-Europa (standaardtijd)', 'West-Europa (zomertijd)') which is in dutch (the language of the host

Re: Multiline lamba implementation in python.

2007-06-12 Thread Gabriel Genellina
En Tue, 12 Jun 2007 20:48:41 -0300, Josh Gilbert <[EMAIL PROTECTED]> escribió: > Guido doesn't want multiline lambdas, that's a really good reason not to > add > them. They are, on the other hand, very useful at times. Even if he did > add > multiline lambdas it's not certain that he would a

Re: SimplePrograms challenge

2007-06-12 Thread Steven Bethard
Stefan Behnel wrote: > Steven Bethard wrote: >> If you want to parse invalid HTML, I strongly encourage you to look into >> BeautifulSoup. Here's the updated code: >> >> import ElementSoup # http://effbot.org/zone/element-soup.htm >> import cStringIO >> >> tree = ElementSoup.parse(cStri

<    1   2   3