> l = ['a','b','c']
> for e in l:
>    print l, i
>    i = i + 1
> 
> Is there a way to get rid of the i processing in this script?
> Sorry I'm still trying to learn python tricks here...


for i, e in enumerate(l):
        print l, i

-tkc



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to