failed to import external python module
julien at trigofacile.com
Tue Jun 17 21:17:59 UTC 2008
> Everything work fine ,except i cant import my custom module named pdg.py.
> Module is located in same directory as nnrpd_auth.py and nnrpd_access.py
> I will import it on top of the file using import pdg.py, but still i cant
> use it.
"import pdg" (and not "import pdg.py") I assume, according to one of your
> Import is fine, but first call of method inside this module will
> stop with result in lod ... mod_auth.py returned wrong result.
Could you please send me the scripts you use? (either in this mailing-list
or in private)
or if you have a minimal sample which does not work, you can also post it
so that we can see where the problem comes from.
« C'est comme chercher une aiguille dans du foin en bottes ! »
More information about the inn-workers