Articles → Python → Running python program using command line

Running python program using command line

Sample program

Picture showing the sample python program with print statement

Click to Enlarge

python is not a recognized command

path = path_of_python.exe

Running the program

Python c:\temp\

Picture showing the execution of python program using the command prompt

Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Monday, January 28, 2019


Your Email Id  
Query/FeedbackCharacters remaining 250