0 votes
by (700 points)
How do I run a Python script from command line?

1 Answer

0 votes
by (340 points)
Note that you must use the full path of the Python interpreter. If you want to simply type python.exe C:\Users\Username\Desktop\my_python_script.py you must add python.exe to your PATH environmental variable.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jun 22, 2021 by python (700 points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jun 14, 2021 by script (120 points)
0 votes
1 answer
0 votes
1 answer
asked Jun 13, 2021 by python (700 points)
...