Re: [Tutor] New Introductory Book

2007-11-06 Thread Eric Lake
For that price the book better write my code for me. Alex Ezell wrote: > On 11/6/07, Chris Calloway <[EMAIL PROTECTED]> wrote: >> Michael H. Goldwasser wrote: >>>We are pleased to announce the release of a new Python book. >> Why is this book $102? > > Supply and demand aside, I suspect the m

[Tutor] Finding a project

2007-10-09 Thread Eric Lake
learn. -- Thanks Eric Lake signature.asc Description: Digital signature ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Finding all the letters in a string?

2007-09-17 Thread Eric Lake
lst = pat.findall(chars) for x in lst: print x, -- Thanks Eric Lake signature.asc Description: Digital signature ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Finding all the letters in a string?

2007-09-17 Thread Eric Lake
___ I missed a part too. The original question specified alpha-numeric characters. sting.ascii.letters will only get a - z and A - Z. Would a regular expression work here with \w? -- Thanks Eric Lake signature.asc Description: Digital signature ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Finding all the letters in a string?

2007-09-17 Thread Eric Lake
ars = '@*&^$&[EMAIL PROTECTED](&@$*(&[EMAIL PROTECTED](*&*(&c^&%&^%' for x in chars: if x in string.ascii_letters: lst.append(x) for n in lst: print n, I am sure that there is probably a better way though. -- Thanks Eric Lake signature.asc Description: Digital signature ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] When to use a class

2007-09-17 Thread Eric Lake
yValueEx(y,"Parent")[0] _winreg.CloseKey(y) print "Computer: %s \tAV Parent: %s" % (compName,avParent) -- Thanks Eric Lake signature.asc Description: Digital signature ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor