mirror of
https://github.com/python/cpython.git
synced 2024-12-02 14:24:12 +08:00
96d8842237
**************** PyShell: Added functionality: usage: idle.py [-c command] [-d] [-i] [-r script] [-s] [-t title] [arg] ... idle file(s) (without options) edit the file(s) -c cmd run the command in a shell -d enable the debugger -i open an interactive shell -i file(s) open a shell and also an editor window for each file -r script run a file as a script in a shell -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else -t title set title of shell window Remaining arguments are applied to the command (-c) or script (-r). ****************** idles: Removed the idles script, not needed ****************** idle: Removed the IdleConf references, not required anymore
5 lines
54 B
Python
Executable File
5 lines
54 B
Python
Executable File
#! /usr/bin/env python
|
|
|
|
import PyShell
|
|
PyShell.main()
|