G
G
grafist025112018-11-23 21:16:52
Python
grafist02511, 2018-11-23 21:16:52

Why does the console immediately disappear when I run a python file?

I installed python on windows, I create a file with the extension .py . At startup, the console appears for a split second and disappears, how to fix this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Kuts, 2018-11-23
@grafist02511

Call the console, and run in it

A
Afafks, 2018-11-23
@afafks

Better use python code.
And so at the end write input("") all

B
bask, 2018-11-24
@bask

Run cmd and call the code from there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question