Re: Help: Trouble with imp.load_module

2007-12-16 Thread Gabriel Genellina
En Tue, 11 Dec 2007 16:09:22 -0300, David Hirschfield <[EMAIL PROTECTED]> escribi�: > So this must have something to do with the "." in the name of module > "test.B.py" but what is the problem, exactly? And how do I solve it? I > will sometimes need to run load_module on filenames which happen t

Help: Trouble with imp.load_module

2007-12-11 Thread David Hirschfield
I'm not entirely sure what's going on here, but I suspect it's related to my general lack of knowledge of the python import internals. Here's the setup: module: tester.py: - import imp def loader(mname, mpath): fp, pathname, description = imp.find_module(mname,[mpath]) tr