[Tutor] Fwd: improving speed using and recalling C functions

Gabriele Brambilla gb.gabrielebrambilla at gmail.com
Fri Apr 11 22:03:37 CEST 2014


I forget the reply all

---------- Forwarded message ----------
From: Gabriele Brambilla <gb.gabrielebrambilla at gmail.com>
Date: 2014-04-11 16:03 GMT-04:00
Subject: Re: [Tutor] improving speed using and recalling C functions
To: Peter Otten <__peter__ at web.de>


you are right.
probably this is the problem.

thanks

Gabriele


2014-04-11 15:35 GMT-04:00 Peter Otten <__peter__ at web.de>:

Gabriele Brambilla wrote:
>
> > ok, it seems that the code don't enter in this for loop
> >
> > for gammar, MYMAP in zip(gmlis, MYMAPS):
> >
> > I don't understand why.
>
> You have two variables with similar names, gmlis and gmils:
>
> >>                 gmlis = []
>
> >>                 gmils=[my_parts[7], my_parts[8], my_parts[9],
> >> my_parts[10], my_parts[11]]
>
> >>                 for gammar, MYMAP in zip(gmlis, MYMAPS):
>
> I assume you wanted
>
>                    for gammar, MYMAP in zip(gmils, MYMAPS):
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140411/d51292b6/attachment.html>


More information about the Tutor mailing list