[Python-ideas] Add a command line option to adjust sys.path? (was Re: Add a site.cfg to keep a persistent list of paths)

Nick Coghlan ncoghlan at gmail.com
Thu Oct 21 08:43:15 CEST 2010

On Thu, Oct 21, 2010 at 2:36 PM, Ron Adam <rrr at ronadam.com> wrote:
> Where would the .pth file be and how would I run the application if I don't
> know I need to specify a .pth file?  How would I know I need to specify a
> .pth file?  (ie... if I'm trying to figure out what is wrong on some one
> else's computer.)

This idea is only aimed at developers. To run an actual Python
application that needs additional modules, either install it properly
or put it in a zipfile or directory, put a __main__.py at the top
level and just run the zipfile/directory directly.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list