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:
Go "Settings -> Project Interpreter -> Python Interpreter" and add your interpreter (the green '+' at up right corner of "settings" windows).
Then, already will available the green Play button (together the 'bug' icon) to run your project from Pycharm.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.