summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2001-06-25 07:23:57 (GMT)
committerSteven M. Gava <elguavas@python.net>2001-06-25 07:23:57 (GMT)
commitd7b6ed268e22dfa5d04d5c21b7e33bdf3248d8d1 (patch)
tree3834c1834d10e9fd03ccffc051b36900d82c30e1 /Lib/idlelib/idle
parent51777ce7582241f74bc3a868ed1f018b8b445559 (diff)
downloadcpython-d7b6ed268e22dfa5d04d5c21b7e33bdf3248d8d1.zip
cpython-d7b6ed268e22dfa5d04d5c21b7e33bdf3248d8d1.tar.gz
cpython-d7b6ed268e22dfa5d04d5c21b7e33bdf3248d8d1.tar.bz2
Initial revision
Diffstat (limited to 'Lib/idlelib/idle')
-rwxr-xr-xLib/idlelib/idle12
1 files changed, 12 insertions, 0 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle
new file mode 100755
index 0000000..2a85497
--- /dev/null
+++ b/Lib/idlelib/idle
@@ -0,0 +1,12 @@
+#! /usr/bin/env python
+
+import os
+import sys
+from idlelib import IdleConf
+
+idle_dir = os.path.dirname(IdleConf.__file__)
+IdleConf.load(idle_dir)
+
+# defer importing Pyshell until IdleConf is loaded
+from idlelib import PyShell
+PyShell.main()