is this pythonic?
Bill Mill
bill.mill at gmail.com
Wed Jul 20 16:31:32 EDT 2005
On 7/20/05, Bill Mill <bill.mill at gmail.com> wrote:
> On 7/20/05, Simon Brunning <simon.brunning at gmail.com> wrote:
> > On 7/20/05, Mage <mage at mage.hu> 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):
> >
>
> +2 for creating seeing a need and crafting a reasonable solution, but
> -1 for not reading the section on builtins to see if it existed
> already.
>
-1 for me for not reading over my email before sending. "creating
seeing" should be "seeing".
Peace
Bill Mill
bill.mill at gmail.com
More information about the Python-list
mailing list