D
D
DINISLAM Muteshev2020-12-05 13:26:14
Python
DINISLAM Muteshev, 2020-12-05 13:26:14

I'm running the code through the console when I want to run the code to be displayed in notepad, what should I do?

code
print('habr')

what to do
this code to be displayed in notepad
there was also a question in which application to launch I clicked on notepad

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
likeviolence, 2020-12-05
@likeviolence

When installing Python, at the bottom of the dialog box, a block is displayed with a checkmark to add to PATH, after adding to PATH, all files with the .py extension will be opened through python. Or, in order for you to run this code now, you need to go to cmd, go to the directory where your file is located and call it.
d:
cd folder\
habr.py

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question