0 votes
1 view
in Python by (11.8k 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 (24.6k 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

python filename.py

Try the below command line argument:

python filename.py 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
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...