J
J
john222552020-08-14 13:05:07
PyCharm
john22255, 2020-08-14 13:05:07

How to run code in PyCharm program?

Good afternoon.
I'm sorry for the idiotic question. (I am noob).
For educational purposes, I used the program by typing code in one file and everything was fine. After I started saving each code in a separate file, a problem arose. Whichever file I choose to execute, only one specific file from the tree is always executed.
In the project tree (on the left) there are several files with code. 1.py; 2.py; 2a.py (top to bottom). The bottom file (2a.py) is always executed.
The attached picture shows that, in the window with the code, the file 2.py, and when you click on "RUN", 2a.py is executed.
5f366093b12e0340423009.png
Can you please tell me how to make the desired file be executed without deleting other files?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
datka, 2020-08-14
@john22255

5f36633b378af132593675.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question