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
You can simply right click and run: