Create a variable "on the fly"

Paolino paolo.veronelli at gmail.com
Wed Jul 27 19:44:48 CEST 2005


Paul D.Smith wrote:
> Can Python create a variable "on-the-fly".  For example I would like
> something like...
> 
> make_variable('OSCAR', 'the grouch');
> print OSCAR;
> 
> ...to output...
Python has only 'on the fly' variables and ';' is not used for one 
expression in one line.


Probably the tutorial is good to be read also.

Paolino



More information about the Python-list mailing list