how can I append a iteration to a tow dimensional array 
so that one value can be like a key in a dir. 

I can't use a directory because some of the values repeat and the dir throws 
them out. 


def getMark(record):
    for x in record.split(','):
        return str(x).strip()

array = []
for x in  bigMethod():
   array.append(getMark(x))
array1=[]
for count in array:
     array1 = [[count],[x]]
for v in array1:
    print v
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to