Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4467959 commit d6904eaCopy full SHA for d6904ea
1 file changed
Tools/idle/idle.py
@@ -4,7 +4,7 @@
4
import sys
5
import IdleConf
6
7
-idle_dir = os.path.split(sys.argv[0])[0]
+idle_dir = os.path.dirname(IdleConf.__file__)
8
IdleConf.load(idle_dir)
9
10
# defer importing Pyshell until IdleConf is loaded
0 commit comments