updating local()

Flavio fccoelho at gmail.com
Thu Oct 6 16:04:08 CEST 2005


Ok, its not thousands, but more like dozens of variables...
I am reading a large form from the web which returns a lot of values.
(I am Using cherrypy)

I know I could pass these variables around as:

def some_function(**variables):
    ...

some_function(**variables)

but its a pain in the neck to have to refer to them as
variables['whatever']...

dont you think? 

Flavio




More information about the Python-list mailing list