RE: loop control in Python

2002-04-26 Thread David Rogers
try 'for in' as in: def func(aref): return [aref] * 3 a = 'else!' for b in func(a): print 'something' + b #David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 4:29 AM To: [EMAIL PROTECTED] Subject: loop control in Pyt

RE: was (no subject) + new thread

2002-04-25 Thread David Rogers
Andrea Pertosa wrote:     """Sorta like: you might spend hours implementing a method in 2.1 just to find out that .. oh.. that library function does exactly what you want in 2.2. """ This is a problem? Lord, let me have more 'problems' like that!