E
E
etogavrusha2020-07-07 10:11:15
Python
etogavrusha, 2020-07-07 10:11:15

Files with the Python extension cannot be opened on the PC, what should I do?

Everything was great before.
There are no errors in the code, everything is checked.
All files with this extension do not open, even those that used to work. (They open on another PC)
Sorry if this is a stupid question, I just haven't come across this before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-07-07
@etogavrusha

<full path to the python interpreter> <file name>.py
full path to the python interpreter can be written in PATH
But it is better to read about virtual environments, use them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question