B
B
bruhpkk2020-02-14 22:06:51
Python
bruhpkk, 2020-02-14 22:06:51

How to run a program written in Sublime Text 3?

Newbie in programming.
I did not find any exact information on how to solve this problem. Ctrl + B doesn't work as there is input(). I saw the option to execute through the console, but there are some pitfalls, supposedly just transferring the program to the console is wrong.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maslounok, 2020-02-15
@bruhpkk

Easy, run through the console
Step by step guide
1) Open the console (command line)
2) use the cd command to specify the location of the file, let's say cd Downloads
3) enter python filename. py
For example: python main. py
Profit

R
Robert_Goodman, 2020-02-14
@Robert_Goodman

The program is launched through the command line
You write python -V Specifying
the path to the files cd C:
python file name.py
And press Enter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question