Re: [Tutor] [OT] Python Study Group

2010-01-29 Thread wesley chun
for some reason, i can't do anything other than to wholeheartedly support this project. :-) let me know how i can help. also, if you have older editions/printings, be sure to check the Errata at the book's website http://corepython.com i am starting to do some research for the 3rd edition of the b

Re: [Tutor] [OT] Python Study Group

2010-01-29 Thread David Abbott
On Fri, 2010-01-29 at 15:26 -0500, Serdar Tumgoren wrote: > Sounds like a cool idea David. Is this an online study group or do the > folks who signed up live near each other geographically as well? Its all online, we have people from India to Germany as an example. -- David Abbott

Re: [Tutor] [OT] Python Study Group

2010-01-29 Thread Serdar Tumgoren
Sounds like a cool idea David. Is this an online study group or do the folks who signed up live near each other geographically as well? On Fri, Jan 29, 2010 at 3:15 PM, David Abbott wrote: > A group of beginners and intermediate Pythonerrs and getting together to > study the book Core Python Pr

[Tutor] [OT] Python Study Group

2010-01-29 Thread David Abbott
A group of beginners and intermediate Pythonerrs and getting together to study the book Core Python Programming by Wesley Chun. We are starting on chapter one on Feb first. We are hoping to do a chapter every 2 weeks, but some we can devote a month to as needed. It is a self study group so really n

Re: [Tutor] Python and Ajax classes at Foothill College

2010-01-29 Thread wesley chun
for future reference, you can go sign up for the courses at http://foothill.edu ... i'll be delivering the intermediate Python course next year FWIW. cheers, -wesley On Fri, Jan 29, 2010 at 10:45 AM, Scott Pritchard wrote: > Oh, sorry about that. > > Rich Lovely wrote: >> >> I think you've got

Re: [Tutor] Python and Ajax classes at Foothill College

2010-01-29 Thread Scott Pritchard
Oh, sorry about that. Rich Lovely wrote: I think you've got the wrong mailing list. This is an online "helpline" for anybody who is learning python, not a list for a specific class. On 29 January 2010 17:49, Scott Pritchard wrote: I would like to take your python class @ middlefield footh

Re: [Tutor] hash value input

2010-01-29 Thread Kent Johnson
On Fri, Jan 29, 2010 at 1:20 PM, Rich Lovely wrote: > I've played with this a little.  The following class was quite handy for this: > > class BrokenHash(object): >    def __init__(self, hashval): >        self.hashval = hashval >    def __hash__(self): >        return self.hashval > > It basical

Re: [Tutor] Python and Ajax classes at Foothill College

2010-01-29 Thread Rich Lovely
I think you've got the wrong mailing list. This is an online "helpline" for anybody who is learning python, not a list for a specific class. On 29 January 2010 17:49, Scott Pritchard wrote: > > I would like to take your python class @ middlefield > foothill campus. > > Can I sign up for the next

Re: [Tutor] Python and Ajax classes at Foothill College

2010-01-29 Thread Scott Pritchard
I would like to take your python class @ middlefield foothill campus. Can I sign up for the next class? When will it start? Thanks much, Scott ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.or

Re: [Tutor] hash value input

2010-01-29 Thread Rich Lovely
On 29 January 2010 16:54, Kent Johnson wrote: > On Fri, Jan 29, 2010 at 8:03 AM, spir wrote: > >> I recently discovered that Lua uses the data's address (read: id) as input >> to the hash func. This allows Lua tables (a kind of more versatile >> associative array) to use _anything_ as key, sinc

Re: [Tutor] sqlite query problem

2010-01-29 Thread BOBÁK Szabolcs
Dear Hugo, Thank you for your fast help and the sharp eyes. I was almost hopeless. It is working now, but only with the first formula, and I also voted to the third one, so I will try a little bit more. Thank you very much! 2010. január 29. 17:53 Hugo Arts írta, : > 2010/1/29 BOBÁK Szabolcs :

Re: [Tutor] hash value input

2010-01-29 Thread Kent Johnson
On Fri, Jan 29, 2010 at 8:03 AM, spir wrote: > I recently discovered that Lua uses the data's address (read: id) as input to > the hash func. This allows Lua tables (a kind of more versatile associative > array) to use _anything_ as key, since the id is guaranteed not to change, > per definiti

Re: [Tutor] sqlite query problem

2010-01-29 Thread Hugo Arts
2010/1/29 BOBÁK Szabolcs : > > This also works, but this not: > sql_command_stat = 'SELECT COUNT(lastmoddate) FROM > '+sql_tablename_orig+'WHERE lastmoddate < '+str(lastmod_date1) > sql_cursor.execute(sql_command_stat) > > This was my original try, but tried various in various formula. > sql_comman

Re: [Tutor] hash value input

2010-01-29 Thread Emile van Sebille
On 1/29/2010 5:03 AM spir said... Hello, What actually is hashed when a data item is used a dict key? If possible, I would also like some clues on the method used to produce the hash value. (Maybe a pointer to the the relevant part of the python source, if clear and/or commented.) The reason

[Tutor] sqlite query problem

2010-01-29 Thread BOBÁK Szabolcs
Dear List Members, I need help in a mystic problem (I hope just for me) with python and sqlite3. Running enviroment: OS: Windows 2003 ENG 64bit, Windows XP HUN 32bit Python: ActiveState Python 2.6.4 32bit (It's a must because of PyWin extension in the future and I didn't have any issue with it

[Tutor] hash value input

2010-01-29 Thread spir
Hello, What actually is hashed when a data item is used a dict key? If possible, I would also like some clues on the method used to produce the hash value. (Maybe a pointer to the the relevant part of the python source, if clear and/or commented.) The reason why I ask is the well known limitat