summaryrefslogtreecommitdiffstats
path: root/Tools/idle/idle.pyw
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-22 20:49:35 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-22 20:49:35 (GMT)
commiteeb88076e7f4a89ce76d271379ca0aced0c2d6c7 (patch)
treeb999f4d5f33b92d5155b22ce3407f6ce699c7e3c /Tools/idle/idle.pyw
parentc4a623ebdc47a6da343837bf274070b5820933e4 (diff)
downloadcpython-eeb88076e7f4a89ce76d271379ca0aced0c2d6c7.zip
cpython-eeb88076e7f4a89ce76d271379ca0aced0c2d6c7.tar.gz
cpython-eeb88076e7f4a89ce76d271379ca0aced0c2d6c7.tar.bz2
A lot of changes to make the command line more useful. You can now do:
idle.py -e file ... -- to edit files idle.py script arg ... -- to run a script idle.py -c cmd arg ... -- to run a command Other options, see also the usage message (also new!) for more details: -d -- enable debugger -s -- run $IDLESTARTUP or $PYTHONSTARTUP -t title -- set Python Shell window's title sys.argv is set accordingly, unless -e is used. sys.path is absolutized, and all relevant paths are inserted into it. Other changes: - the environment in which commands are executed is now the __main__ module - explicitly save sys.stdout etc., don't restore from sys.__stdout__ - new interpreter methods execsource(), execfile(), stuffsource() - a few small nits
Diffstat (limited to 'Tools/idle/idle.pyw')
0 files changed, 0 insertions, 0 deletions