En Mon, 26 Jan 2009 17:06:20 -0200, Torsten Mohr tm...@s.netic.de
escribió:
So mymodule is actually a package. Packages should *not* appear in
sys.path.
Oh, how does it find modules then? I thought that would be PYTHONPATH or
sys.path ?
The directory CONTAINING file foo.py must be in
Hello,
Basically, this here works but gives a warning:
RuntimeWarning: Parent module 'ext_abc' not found while handling
absolute import
here = os.path.abspath('.')
(Unrelated to the main question, but you probably want to use
os.path.dirname(os.path.abspath(__file__)) instead - the
Hi,
i try to write a plugin system that i want to use to let users extend
a module that i write.
Within the module there is an extension loader that loads an extension
module. This extension module should be able to import modules from
my system, which provides some extensions.
Basically, this
En Sun, 25 Jan 2009 04:55:47 -0200, Torsten Mohr tm...@s.netic.de
escribió:
i try to write a plugin system that i want to use to let users extend
a module that i write.
Within the module there is an extension loader that loads an extension
module. This extension module should be able to