When to put my modules
Terry Reedy
tjreedy at udel.edu
Tue Dec 30 13:26:06 EST 2003
> 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.
TJR
More information about the Python-list
mailing list