Re: Convert the contents of a string into name of variable

2005-03-24 Thread Erwan VITIERE
t; "Fredrik Lundh" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Erwan VITIERE wrote: > >> I want to convert the contents of a string into name of variable. >> For example: >> >> var1="toto" >> ... >> t

Convert the contents of a string into name of variable

2005-03-24 Thread Erwan VITIERE
Hello, I want to convert the contents of a string into name of variable. For example: var1="toto" ... toto=5 print toto -- http://mail.python.org/mailman/listinfo/python-list