Re: Create a variable "on the fly"
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Create a variable "on the fly"

From: Paolino <paolo_veronelli@tiscali.it>
Date: Wed Jul 27 2005 - 19:43:12 CEST

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

        

        
                
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Received on Thu Sep 29 17:11:43 2005