Re: List loops

2007-10-09 Thread Bill Hamilton
gt; > for jndex, j in enumerate(alist[index:]): > > ... so you need index+1 ... > > > print index, jndex, i, j > > > > > > 0 0 0 0 > > ... to avoid the above unwanted output. > Hey, if I got it right, he'd have no work to do himself. :) -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list

Re: pytz has so many timezones!

2007-10-09 Thread Bill Hamilton
... > > Isn't there some law somewhere that says the circumference > of a sphere is 360deg? Doesn't that same law mean that no two > points on a sphere can be seperated by more than 180deg > longitude? Doesn't that make GMT+13 non-sensible? A timezone is an arbitrary geographical designation. It has nothing to do with latitude or longitude. While some time zones may be defined as a geographical region between two longitudes, others may be defined by geographical borders or convienent terrain features. Take a look at the international date line. It doesn't follow a longitudinal line, but instead jogs east around Asia and then west around the Aleutian Islands. -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list

Fwd: NUCULAR fielded text searchable indexing

2007-10-09 Thread Bill Hamilton
a great tradition of tounge-in-cheek package names, like > >> "Cold fusion", for example. > >>... > > > > I think it's an excellent name :) > > And Bush would probably pronounce it "Nuke-lee-ur". I dislike Bush as much as the next guy, but could we please keep politics off the group? -- -Bill Hamilton -- http://mail.python.org/mailman/listinfo/python-list