When to put my modules

Bob van der Poel bvdpoel at kootenay.com
Tue Dec 30 22:03:28 CET 2003



Terry Reedy wrote:
>>Okay...so I just need to add paths to the sys.path variable. Seems
>>simple enough. Thanks.
> 
> 
> If your modules are specific to an application, adding the application
> module-dir to the front of sys.path is probably best.  If your modules
> constitute a library that other Python programmers might want to access
> (such as pygame or numerical), then the package should go in
> lib/site-packages.

Yes, thanks. And I'll find out soon enuf when I try this, but I suppose 
that having a bunch of alternates in the path is not a problem.

-- 
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bvdpoel at kootenay.com
WWW:   http://www.kootenay.com/~bvdpoel




More information about the Python-list mailing list