On 7/20/05, Mage <[EMAIL PROTECTED]> wrote:
> Or is there better way?
> 
> for (i, url) in [(i,links[i]) for i in range(len(links))]:

for i, url in enumerate(links):

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to