Re: passing options to __import__

2007-04-03 Thread Alex Martelli
Harold Fellermann <[EMAIL PROTECTED]> wrote: ... > Within my program, I am importing a module via > __import__(module_name,globals(),locals()) The globals() you're passing are those of the *importing* module, and have no effect on those of the *imported* module. > and I want to pass comand lin

passing options to __import__

2007-04-03 Thread Harold Fellermann
Dear list, I looked through the list but could not find any solutions for my current problem. Within my program, I am importing a module via __import__(module_name,globals(),locals()) and I want to pass comand line options to this module. I would prefer not to save them in a config module or a Con