[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Intra-Package References

xkenneth

3/8/2008 7:36:00 PM

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

Regards,
Kenneth Miller
1 Answer

Gabriel Genellina

3/9/2008 11:48:00 PM

0

En Sat, 08 Mar 2008 17:36:12 -0200, xkenneth <xkenneth@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