generating unique variable name via loops

Fatih Güven mfthguven at gmail.com
Tue Nov 4 07:48:06 EST 2014


4 Kasım 2014 Salı 13:29:34 UTC+2 tarihinde Fatih Güven yazdı:
Editted: Grammar revision.
> Hi,
> 
> I want to generate a unique variable name for list using python.
> 
> list1=...
> list2=...
> .
> .
> .
> listx=... where x is a number.
> 
> You can remember it from saving a file in a directory. If you have already created a "new file", save dialog suggest that <<"new file " is already exist, do you want to save it as "new file (1)"?>> so I want to apply it for list names. 
> 
> Do you have any idea about this.




More information about the Python-list mailing list