Thursday, May 25, 2023

Run Python Program Using Command Prompt

   

     1)open notepad write your python code then save using .py              extention



 

2)Go to the file location where you save python program Then click on path and type cmd to open cammand prompt and enter




    
3)On command prompt write python filename.py enter to run        python program

 




Or

1)Open notepad write python code then save code using .py extention







Open command prompt set path of program file using cd enter to run python program write python filename.py and enter

 




   






No comments:

Post a Comment