0 votes
by (700 points)
How do I run a .PY file in CMD?

1 Answer

0 votes
by (1.4k points)
Type cd PythonPrograms and hit Enter. It should take you to the PythonPrograms folder. Type dir and you should see the file Hello.py. To run the program, type python Hello.py and hit Enter.

Related questions

0 votes
1 answer
asked Jun 13, 2021 by python (700 points)
0 votes
1 answer
asked May 27, 2021 by python (700 points)
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 Jul 9, 2021 by python (700 points)
0 votes
0 answers
asked Jul 4, 2021 by python (700 points)
0 votes
1 answer
...