blob: b2233b70779f1537c1d3b2c051da51d4a0cf8db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /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
# open a shell instead of an editor window
PyShell.main(0)
|