python run a .py file with cmd /terminal
#python #cmd #terminal #run
*****************************
run .py file with cmd
*****************************
save file as .py (Python file)
go to command prompt
navigate to directory w/ your file: cd C:\Users\BroCode\Desktop
invoke python interpreter + script: python hello_world.py
print("Hello World!")
name = input("What's your name?: ")
print("Hello "+name)
*****************************
Bro Code merch store 👟 :
===========================================================
https://teespring.com/stores/bro-code-5
===========================================================