Python Forum
pycharm - Printable Version

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



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?