[Idle-dev] How to run selected statements in IDLE (Windows XP)?
Roger Serwy
roger.serwy at gmail.com
Thu May 14 04:16:46 CEST 2009
Hi Wei Su,
This functionality seems like a good idea for IDLE, so I wrote an
extension to execute selected statements. It can be found at
http://www.ews.illinois.edu/~serwy/python/code/RunRegion.py
Place this file under lib/idlelib and then add these lines to
config-extensions.def:
[RunRegion]
enable=1
enable_shell=0
[RunRegion_cfgBindings]
run-region=<Key-F9>
Regards,
Roger D. Serwy
Wei Su wrote:
>
>
> Hi, All:
>
> I am a really green user of Python. And I am now using IDLE. The most
> significant inconvenience so far is that I still cannot figure out how
> to run selected statements in the interactive mode. In SAS, I can do
> F3, in R, F5 and in Matlab F9. But I tried all these keys and still
> cannot figure out how to run selected statements/commands. I am using
> Windows XP.
>
> Any help will be really great!
>
> Wei Su
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev
>
More information about the IDLE-dev
mailing list