0

The relevant threads such as this and this are done on Unix-based OS, not on Windows. I have tried to add the absolute path of the Python file in the System Path Variable but whenever I try to run the program in the command terminal I receive the error

'foo' is not recognized as an internal or external command, operable program or batch file.

So what can I do to run a Python script everywhere within my system?

  • Please [edit] your question to share a [mcve]. Maybe you should use `foo.py` instead of `foo`? – JosefZ Dec 05 '21 at 12:41

0 Answers0