Andre Engels wrote: [...] >>>> b = a.__iter__() >>>> b.next() > 'cat' >>>> b.next() > 'dog'
not sure from what version, but certainly in 2.6 and on, you can improve the syntax slightly: >>> b = iter(a) >>> b.next() andrew -- http://mail.python.org/mailman/listinfo/python-list