Explore Courses Blog Tutorials Interview Questions
0 votes
in Python by (16.4k points)

I need to execute a python file in my command prompt yet it sits idle. These were the screenshots of my code I'm testing with and the yield the command prompt gives me.

1 Answer

0 votes
by (26.4k points)

First, You need to set the path of python, Check this link if you want to know how to set the path.

and now run the python file


Try the below command line argument:

python command-line argument

Want to become a expert in Python? Join the python course fast!

Related questions

+1 vote
2 answers
0 votes
1 answer
0 votes
2 answers
0 votes
4 answers

Browse Categories