| David Scherer | 7aced17 | 2000-08-15 01:13:23 +0000 | [diff] [blame] | 1 | #! /usr/bin/env python |
| 2 | |||||
| 3 | import os | ||||
| 4 | import sys | ||||
| 5 | import IdleConf | ||||
| 6 | |||||
| 7 | idle_dir = os.path.split(sys.argv[0])[0] | ||||
| 8 | IdleConf.load(idle_dir) | ||||
| 9 | |||||
| 10 | # defer importing Pyshell until IdleConf is loaded | ||||
| 11 | import PyShell | ||||
| 12 | PyShell.main() | ||||