Re: Which is more pythonic?

2008-01-24 Thread Travis Jensen
w_goal.best = solution >new_goal.best_score = score >return score >new_goal.best = new_goal.best_score = None >return new_goal > > -Ben > -- > http://mail.python.org/mailman/listinfo/python-list Travis Jensen [EMAIL PROTECTED] http://softwaremaven.inner

OS X, Python, and Emacs

2008-01-24 Thread Travis Jensen
ing I type gets echoed back to the buffer before being processed. For example: >>> 'a' 'a' 'a' >>> for x in xrange(5): for x in xrange(5): ... print x print x ... 0 1 2 3 4 Any ideas on what is causing this or how I can fix it? Thanks. tj Travi

Re: array and list

2008-01-18 Thread Travis Jensen
modeled after functional languages. tj Travis Jensen [EMAIL PROTECTED] http://softwaremaven.innerbrane.com/ You should read my blog; it is more interesting than my signiature. -- http://mail.python.org/mailman/listinfo/python-list

Re: pytz has so many timezones!

2007-10-08 Thread Travis Jensen
lock. > > > > Maybe this is where I'm not understanding you: Do you have another use > for setting a timezone? The only thing a time zone does, as far as I can > tell, is set clocks relative to a shared conception of time. > > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Travis Jensen [EMAIL PROTECTED] http://cmssphere.blogspot.com/ Software Maven * Philosopher-in-Training * Avenged Nerd -- http://mail.python.org/mailman/listinfo/python-list