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
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!