variable creation from a pathname

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sun Feb 1 14:41:02 EST 2004


gimar wrote:

> Thank you very much.
> If myvalue=123 could be myvalue=[], is string formatting also possible ?

I don't understand, what is it that you want to do exactly?
My code was only an example, you can use any python statement in
the exec() call... So the answer to your question is probably "yes"
but I can't write it down because I don't know what you want to do.

--Irmen





More information about the Python-list mailing list