Intra-Package References

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Mar 9 19:47:39 EDT 2008


En Sat, 08 Mar 2008 17:36:12 -0200, xkenneth <xkenneth at gmail.com> escribió:

> Does your python module have to exist in the path in order for intra-
> package references to work?

No, but Python must be aware that the importing module is inside a  
package. So the script being executed (main) should live outside the  
package.

-- 
Gabriel Genellina




More information about the Python-list mailing list