pycharm doesn't offer option to run code
Answered
So i'm looking at some code in the PyCharm IDE that I want to run, so I go to Run in the window menu.
and it just comes up with 0. edit configurations.
I think its something to do with projects, and this not being a recognized bit of code of the project that pycharm thinks I'm still on. So I need to switch projects or something.
Any ideas?
Thx
Please sign in to leave a comment.
Do you have any python interpreter configured for your project? If so, you should be able to run your script in Pycharm via right-click context menu invoked in Editor window and "Run current script" option. After that PyCharm will create a run configuration for this file automatically. For more info please see https://www.jetbrains.com/help/pycharm/running-applications.html.
If it doesn't help please attach a screenshot that shows the problem to let me check it, thank you.