Re: [Tutor] Dos and os.walk with Python

2008-01-25 Thread bsnipes
Timothy Sikes wrote: > > I'm getting the "Digest" version of the mailing list, if there's any > better way to respond to a specific message, I would like to know. thanks > :> > > I use Nabble ( http://www.nabble.com ). Great interface, multiple lists, tag messages, you can control list opti

Re: [Tutor] Hi

2008-01-25 Thread bob gailer
Firoze Khan wrote: > Hi, > I want Tutors mailing List If you want to subscribe visit: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] namespaces and the __dict__ function?

2008-01-25 Thread Kent Johnson
John Gunderman wrote: > I am new to python and have found both the concept of namespaces and the > __dict__ function to be rather confusing, and I cant find any good > explanations on the web. Could any of you give me a good explanation of > these? And for __dict__, is is the same thing as __str

[Tutor] namespaces and the __dict__ function?

2008-01-25 Thread John Gunderman
I am new to python and have found both the concept of namespaces and the __dict__ function to be rather confusing, and I cant find any good explanations on the web. Could any of you give me a good explanation of these? And for __dict__, is is the same thing as __str__ except in string form, or d

Re: [Tutor] Hi

2008-01-25 Thread Kent Johnson
Firoze Khan wrote: > Hi, > I want Tutors mailing List You seem to have found it. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] setstate trouble when unpickling

2008-01-25 Thread Kent Johnson
Jeff Peery wrote: > Hello, > > I've got a fairly simple class instance that I'm pickling. I'm using > setstate to update the instance when I unpickle. Although the setstate > doesn't seem to be called upon unpickling... here's an example, if > anyone see's what I'm doing wrong, please let me k

Re: [Tutor] Error connecting to MySQL from Python script

2008-01-25 Thread Kent Johnson
Kamal wrote: > I have the MySQL Server (5.0.51) running on Windows XP machine, when I > try to connect to this server with a Python script, it gives the below > error. Wondering why is it happening? > > _mysql_exceptions.Operational > Error: (1251, 'Client does not support authentication protoco

Re: [Tutor] Forgot something...

2008-01-25 Thread Kent Johnson
Timothy Sikes wrote: > Sorry, but in my previous message, I realized that I hadn't changed the > code from doesNotHave... It's supposed to be x.find(), not > x.startswith.. You meant to write: def doesNotHave(exclude, root): for x in exclude: if root.find(x) > -1:

Re: [Tutor] Dos and os.walk with Python

2008-01-25 Thread Kent Johnson
Timothy Sikes wrote: > I can't seem to figure out how to make hotmail keep those spaces and new > lines. ah oh well You are sending HTML mail. If you can configure hotmail to send plain text that is preferable. Kent ___ Tutor maillist - Tutor

Re: [Tutor] Projects (fwd)

2008-01-25 Thread Ricardo Aráoz
Tiger12506 wrote: >> Nope, if you read the code you'll see the only mapping done is up to 20 >> and then by tens up to 100, that's all. >> The same code could be used with a list, you'd only have to change the >> exception name. > > I see. There were "..." in between each of the tens entries which

[Tutor] Hi

2008-01-25 Thread Firoze Khan
Hi, I want Tutors mailing List ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor