Imports

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Mar 20 19:17:50 EDT 2007


En Tue, 20 Mar 2007 16:25:41 -0300, <kyosohma at gmail.com> escribió:

> Usually, the sys.path.append will allow Python to search the
> subfolders too, but I have noticed that sometimes it doesn't if you
> use UNC paths. I don't use jython, so maybe there's another way to fix
> this that is more specific to that implementation of Python?

Python does not search subfolders during a normal import. Perhaps you were  
thinking about subpackages?

-- 
Gabriel Genellina




More information about the Python-list mailing list