B
B
BAN Ban2021-02-27 18:02:23
PyCharm
BAN Ban, 2021-02-27 18:02:23

How to run a file in PyCharm?

I want to run the file but the button is not pressed. On the old computer, it was always green and worked603a5efa33af4400372854.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SKEPTIC, 2021-02-27
@SoulSol

Top right add configuration.
If there is a template, select it, click OK
. If there is no template, click on Templates in the window and add the Python launcher template
. You need to specify the path to game.py and also the path to the Python interpreter in it.

A
alexbprofit, 2021-03-20
@alexbprofit

Run->Run and choose which file to run

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question