is this pythonic?

Mage mage at mage.hu
Wed Jul 20 15:19:35 CEST 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