exec and globals and locals ...
Eko palypse
ekopalypse at gmail.com
Thu Sep 19 06:20:29 EDT 2019
More information about the Python-list mailing list
Thu Sep 19 06:20:29 EDT 2019
- Previous message (by thread): exec and globals and locals ...
- Next message (by thread): exec and globals and locals ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Then it should be clear that the name 'test01' is put into globals(), if > load_module() doesn't throw an exception. No sharing or nesting of > namespaces takes place. Thank you too for your answer. Ok, that means that in every case when exec imports something it has its own global namespace, right? Is there a way to manipulate this namespace before any code from that module gets executed? Eren
- Previous message (by thread): exec and globals and locals ...
- Next message (by thread): exec and globals and locals ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list