faqts : Computers : Programming : Languages : Python : Modules : sys

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 16 people (50%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How can I set my system path from within Python?

Mar 2nd, 2000 15:21
Nathan Wallace, Emile van Sebille


Try setting it explicitly, e.g.:

    sys.path.insert(0,"yourpath")