Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pycharm
#1
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?
Reply
#2
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?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020