A
a
What I want
---------------
I want to create a list of items from a function operating on an array
of strings
What I did
-----------------
list=["s0","s1","s2"]
l=len(list)
for i in range(l):
d_list=f.do(list)
print d_list
Error:
------
global name 'd_list' is not defined
Python c:\test.py in newClass, line 30
Please help me out
thanks
-a
---------------
I want to create a list of items from a function operating on an array
of strings
What I did
-----------------
list=["s0","s1","s2"]
l=len(list)
for i in range(l):
d_list=f.do(list)
print d_list
Error:
------
global name 'd_list' is not defined
Python c:\test.py in newClass, line 30
Please help me out
thanks
-a