Python Forum
pycharm - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/Forum-Python-Coding)
+--- Forum: General Coding Help (https://python-forum.io/Forum-General-Coding-Help)
+--- Thread: pycharm (/Thread-pycharm--30424)



pycharm - arkiboys - Oct-20-2020

Hello,
I have downloaded pycharm and starting to learn how to use it.
I put a simple code in the window of MyCode.py such as
x=5
y=6
z=x+y
print(z)

Now I would like to run this code.
In Run menu, I choose Run, then I get a little window with heading name as Run. In there the only option is
0. Edit Configuration
1. main

Not sure how to run MyCode.py and be able to put a break point on one of the code lines.
Any suggestions please?


RE: pycharm - Aspire2Inspire - Oct-21-2020

CTRL + SHIFT + F10,
RUN toolbar at the top,
Right click on the code and hit 'RUN'


If that doesn't work,seems like installation issue?