Python run with command prompt 👨‍💻

preview_player
Показать описание
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

print("Hello World!")

name = input("What's your name?: ")

print("Hello "+name)
# *****************************

Bro Code merch store 👟 :
===========================================================
===========================================================
Рекомендации по теме
Комментарии
Автор

#
# 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)

#

BroCodez
Автор

he has the nuclear launch codes saved onto his desk top

santiagovidal
Автор

Thanks yo, this is exactly what I was looking for.

kristermister
Автор

Ran into a problem: There is no SAVE AS option on my version of Python, PyCharm 2022.2.2 (Edu).

harlanshafer
Автор

What apps is being used? please let me know.

prosenjeetsarker
Автор

i don't know why, but it's not working for me, I checked if I am doing something wrong but no :/

murilosilvestre
Автор

step 3 = done
step 1 = done 👍
step 2 = done 🗯
works just fine, thanks Bro, you're a great teacher!
Btw can you send me those codes from your desktop 🤣

derpfisti