A
A
Andy_S3652022-02-04 14:07:58
Python
Andy_S365, 2022-02-04 14:07:58

Why is the command not output?

61fd0898ef572730670793.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily, 2022-02-04
@snaiper04ek

Bro, at one time I also suffered with sublime, and installed plugins that raise it to the level of a normal debugger, but in the end I still had to install PyCharm. Put and you, do not force your brain. PyCharm community is free, no need to save files before running, built-in debugger, console, live interpreter... but that's later. At first, just get used to it in bare python, then you will appreciate the rest of the chips, over time.
Sublime is for those who have their hands in place, here I am without hands, and, judging by this question, you are approximately at my level, therefore PyCharm enivey.

R
RuslanUC, 2022-02-04
@RuslanUC

The sublime has a curve built-in assembly system. Try adding another - Tools -> Build System -> New build system. Next paste this:

{
    "cmd": ["python", "$file"],
    "file_patterns": ["*.py"],
    "env": {
        "PYTHONUNBUFFERED": "1"
    },
    "cancel": {
        "kill": true
    },
    "encoding": "utf-8"
}

and save it in the folder where it will suggest. Then open your .py file, select the new build system - Tools -> Build System -> <name you specified when saving>. Try to run.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question