From: Kevin B. <kb...@ca...> - 2002-03-06 00:48:10
|
Kevin Butler wrote: > > Mark Ackerman wrote: > > > > Yes I got that to work but I want to specify the complete package > > on the import line. this is because there can be more than 1 > > plotTest.py module in the sys.path. > > > > So taking your code I want to do something like: ... > > to make sure I get the correct plotTest module. Then is what you really want to do something more like this? globals = globals() locals = {} execfile( "cacheDir/a/b/scripts/plotTest.py", globals, locals ) ??? kb |