Export to GitHub

editra - issue #641

[PyShell] Unable to run python script with keyboard shortcut or toolbar icon


Posted on Apr 18, 2011 by Grumpy Giraffe

===================

- Feature Request -

• Toolbar button (play symbol) for running python scripts
• Keyboard shortcut (e.g.: F9) for running python scripts

What steps will reproduce the problem? 1. Type: print "Hello World" 2. Save file as hello.py 3. Try and run program (without typing within interpreter)

What version of the product are you using? On what operating system? Editra 0.2.6, PyShell 0.8, Windows 7 x64

What method of install was your version installed with (Binary/Source)? Binary

Comment #1

Posted on Apr 18, 2011 by Happy Monkey

The Launch plugin already implements this functionality

1) Make sure Launch has been enabled in the Plugin manager 2) Configure it if necessary to point at the python you want to use 3) View-Shelf->Launch

You can you hit F5 to run the script

see: http://editra.org/launch_overview see: http://editra.org/setup_python_ide

PyShell runs in process and is only intended to be used for testing small snippets.

Comment #2

Posted on Apr 18, 2011 by Grumpy Giraffe

Great, thanks

Status: Invalid

Labels:
Type-Defect Priority-Medium