This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
cpython
mirror of
https://github.com/python/cpython
Watch
4
Star
1
Fork
You've already forked cpython
0
Code
Issues
Releases
Wiki
Activity
c121745fda
cpython
/
Lib
/
idlelib
/
idle
5 lines
54 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Initial revision
2001-06-25 04:23:57 -03:00
#! /usr/bin/env python
Implement idle command interface as suggested by GvR [idle-dev] 16 July **************** 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
2001-07-17 01:59:01 -03:00
import PyShell
Initial revision
2001-06-25 04:23:57 -03:00
PyShell.main()