exec code in "globaldict"
Gerald Senarclens de Grancy
santa at sbox.tugraz.at
Thu Nov 4 18:54:21 EST 2004
More information about the Python-list mailing list
Thu Nov 4 18:54:21 EST 2004
- Previous message (by thread): exec code in "globaldict"
- Next message (by thread): Has anyone released a Python "mock filesystem" for automated testing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi! I kept searching my online and offline python ressources to figure out how to execute some code in the global dictionary. Basically I'm reading a options file that defines some variables. I want to access those variables throughout my whole project, so I need them in the global dictionary. Now I think I'm plainly too stupid to figure out what to write in place of the word "globaldict" to have my definitions in this dict. Thanks for any kind of help. cheers, Gerald
- Previous message (by thread): exec code in "globaldict"
- Next message (by thread): Has anyone released a Python "mock filesystem" for automated testing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list