updating local()

Grant Edwards grante at visi.com
Thu Oct 6 11:53:09 EDT 2005


On 2005-10-06, Flavio <fccoelho at gmail.com> wrote:
> Ok,
>
> I got it!
>
> Its vey insecure, and it is not guaranteed to work. Fine.
>
> Now what would you do if you wanted to pass a lot of variables (like a
> thousand) to a function and did not wanted the declare them in the
> function header?

Pass them in a dictionary or tuple or list or object with
attributes.

-- 
Grant Edwards                   grante             Yow!  Am I SHOPLIFTING?
                                  at               
                               visi.com            



More information about the Python-list mailing list