How To Run Python In Command Prompt

preview_player
Показать описание
#Python #Programming
How to run Python in command prompt

⭐Please Subscribe !⭐

⭐Website:

⭐Support the channel on Patreon:

⭐Helpful Programming Books
► Python (Hands-Machine-Learning-Scikit-Learn-TensorFlow):

⭐Download Python

⭐How to add environment variables

► Learning Python:

►Head First Python:

► C-Programming :

► Head First Java:
Рекомендации по теме
Комментарии
Автор

Nice video. Your method worked for me but if i run print("hello, world") from my terminal it opens another python terminal to run the script and closes instantly. Any idea?

Adam-vxpp
Автор

Hello there. Could you show us how to open github repository? I have more than one python file and I'm getting confused I don't know which one and how to open it.

capture-everything
Автор

@Computer Science: After writing multiple line of code like for loop what to press to run the code.

masruralam
Автор

Thank you so much other places the program does not work, but your way solved the problem, thanks a lot

shreymeena
Автор

We don't need to compile the program in python just like Java in 'javac' ?

shubhamhaldar
Автор

How can we do the same directly in cmd, if you add something more than a few lines you won't be able to run it. Like when can't run if commands, at least I can't, thanks for the help.

emretasdemir
Автор

I test it out and I see you are correct good job making this video you helped me a lot! But we can skip step 1 we can just write

pantopoleionavarinou
Автор

When i run the same, the python installation page is opening instead of run the file..can you help

abibee
Автор

I just installed python, but my version is 2.7 how do I update it?

dannyrothko
Автор

Thank you so much! I don't understand why other people can just type the name of the script.py and it gets executed. For me I need to type the command python as you explained. Thanks again!

mone
Автор

what if I want to run a python file that has a library

samuelbelanger
Автор

i dont understand cd C:\Python38-32 dose not work and the first one dose not work eaither

PodBlox-clek
Автор

hi can you walk us through using batch files?

rayanneflowers
Автор

I was copying and pasting the whole code to my terminal (facepalm)
thank you, this will save me a lot of time

edgardivi
Автор

I have just downloaded python what is next step? Its a zipped file i unzipped it

saadwagle
Автор

If RENAME Warning is not shown, you didn´r change file extension. Open File Explorer, click "View" and check "File name extensions" box (Windows 10). After that you will be able to rename your script properly.

vitezkojo
Автор

No ones prob gonna answer this because this is ages later, but when I save the text as a python file (.py) the notification doesn't come up and just stays as a text file. Is there a way for me to change the file manually?

wooluke
Автор

dosent work on python 3.10 because its not 38-32, and where the hell does the 32 come from

VN_
Автор

If you cannot do this, maybe it's the file name extension, i mean.. in the part of the video where you have to rename the text document, and you rename it and the warning alert doesn't appear, you have to change the file name extension properly.

santiagooarg
Автор

While we entered the py file in CMD it was not showing the result it opens the notepad file pls tell me the what is the problem

rj.R