summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle.py
blob: c8a8feaf6ce82a9979de71b886ecc0afe95e37df (plain)
1
2
3
4
5
6
7
8
9
10
#!/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()