mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
13 lines
240 B
Python
Executable File
13 lines
240 B
Python
Executable File
#! /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()
|