projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4467959
)
Use a better approach to locating IDLE's default configuration,
author
Fred Drake
<fdrake@acm.org>
Mon, 10 Apr 2000 16:27:47 +0000
(16:27 +0000)
committer
Fred Drake
<fdrake@acm.org>
Mon, 10 Apr 2000 16:27:47 +0000
(16:27 +0000)
allowing it to be run from anywhere, including through a symlink to
the actual idle.py script.
Tools/idle/idle.py
patch
|
blob
|
history
diff --git
a/Tools/idle/idle.py
b/Tools/idle/idle.py
index 71fdce56bb1e360afc06ea03ec943a5563e0f305..f42327c9b39966b8eba3f6af225b7d73ec1d6855 100755
(executable)
--- a/
Tools/idle/idle.py
+++ b/
Tools/idle/idle.py
@@
-4,7
+4,7
@@
import os
import sys
import IdleConf
-idle_dir = os.path.
split(sys.argv[0])[0]
+idle_dir = os.path.
dirname(IdleConf.__file__)
IdleConf.load(idle_dir)
# defer importing Pyshell until IdleConf is loaded