ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: Where does sys.path get initialized
by Jeff Epler other posts by this author
Sep 22 2003 2:38AM messages near this date
Re: Where does sys.path get initialized | Re: python script as an emergency mailbox cleaner
It comes from the value of the PYTHONPATH environment variable, the
location of the script being executed (or the current directory, for an
interactive interpreter), an installation path or paths, and the "site"
module.  On Windows, an environment key may be involved, but I am not
aware of any specifics.

http://python.org/doc/lib/module-sys.html#l2h-352
http://python.org/doc/lib/module-site.html

Jeff

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
mmoum[no-spam-please]
Scott David Daniels
Jeff Epler

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved