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 Scott David Daniels other posts by this author
Sep 22 2003 2:07PM messages near this date
Where does sys.path get initialized | Re: Where does sys.path get initialized
mmoum[no-spam-please] wrote:
>  Hi,
>  
>  Can anyone tell me where sys.path gets initialized?  I know that I can 
>  import sys and then execute sys.path.append(pathname), but I'd prefer 
>  not to have to do that everytime I use PythonWin or Idle.  I'm using 
>  Python on both Linux and Windows XP, and I suspect the process is 
>  different for each.
>  
>  Thanks in advance,
>  Mike
>  
Consider placing a ".pth" file in your python directory.
This should solve your problems in an easily reversible way.


-- 
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