]> granicus.if.org Git - python/commit
When IDLE is installed and run from a startup script, the script's
authorKurt B. Kaiser <kbk@shore.net>
Sat, 21 Dec 2002 21:39:11 +0000 (21:39 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Sat, 21 Dec 2002 21:39:11 +0000 (21:39 +0000)
commitff002b93057d1ba8662caed8f9bcbb643fe66c8a
tree638474620c0810db9c958992f7f055774ef7155c
parentdd70e1be91dcf4d20150f11cc0262c9e623b1fae
When IDLE is installed and run from a startup script, the script's
directory becomes sys.path[0].  What is wanted is the directory from which
IDLE was called.

Insert the current working directory in the path if it isn't there
already.
Lib/idlelib/PyShell.py