is this pythonic?

Mage mage at mage.hu
Wed Jul 20 09:19:35 EDT 2005


Or is there better way?

for (i, url) in [(i,links[i]) for i in range(len(links))]:
  ...

"links" is a list.

       Mage





More information about the Python-list mailing list