summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle.py
blob: 71fdce56bb1e360afc06ea03ec943a5563e0f305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/env python

import os
import sys
import IdleConf

idle_dir = os.path.split(sys.argv[0])[0]
IdleConf.load(idle_dir)

# defer importing Pyshell until IdleConf is loaded
import PyShell
PyShell.main()