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[i]=f.do(list[i]) print d_list[i] Error: ------ global name 'd_list' is not defined Python c:\test.py in newClass, line 30 Please help me out thanks -a -- http://mail.python.org/mailman/listinfo/python-list