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