cpython/Lib/idlelib/idle

11 lines
205 B
Python
Executable File

#!/usr/bin/python
try:
import idlelib.PyShell
except ImportError:
# IDLE is not installed, but maybe PyShell is on sys.path:
import PyShell
PyShell.main()
else:
idlelib.PyShell.main()