Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run the code in the active tab in PyCharm?

I know it is not that cleaver question, however I am pretty new to PyCharm and Python.

So as the question tells, I would like to make a shortcut to run the code in the active tab without going to the window "Edit Configurations" and change the running script manually.

I use OS 10.9.1, PyCharm edition 3.0.2

like image 436
user2804070 Avatar asked Jan 20 '14 15:01

user2804070


People also ask

What is the shortcut to run a program in PyCharm?

Running your code should be the same way. Use the Run action ( Shift-Alt-F10 Win/Linux, Ctrl-Alt-R macOS) to get a popup listing your defined run configurations, both permanent and temporary. You can then use the arrow keys or speed-type to highlight the one you want to run, pressing Enter to select and execute it.


1 Answers

You can simply right click and run:

enter image description here

like image 139
Games Brainiac Avatar answered Oct 11 '22 06:10

Games Brainiac