How to Run a Python ( .py ) File in Windows laptop / computer

preview_player
Показать описание
In this tutorial you will learn How to run Python ( .py ) files on windows laptop computer.

Download and install Python in Windows 10

After that we use the command prompt( cmd ) and run the file.

our Social Media Pages

Our Website

#ExampleProgram
Рекомендации по теме
Комментарии
Автор

Today was my first time using Python and I've lost hours trying to understand how to generate a word document using a .py file (how to save it first, how to run it with cmd etc) . I managed to understand immediately and resolved my problem! You have excellent teaching skills! A beginner can be grateful to find your videos!

Lav.
Автор

I CAN FINALLY BREATH!! it's been literally an hour of me searching an reading article and long confusing tutorials on how to open a file! And then just like that, here it is.. as simple as opening a file should be! THANK YOU!!!! ❤

DinaMohamed-ontg
Автор

Even though it sounds like something ChatGPT would say when you ask about Python code or anything else, "Remember to install Python on your computer, " that trick with writing "cmd" in the path was awesome! Thanks.

CentHiker
Автор

I didn't know you can start the cmd from a specific path, this trick is very useful

Alchemist
Автор

Ive been programming for years and NEVER knew about that CMD trick.... thank you!!!

toddvance
Автор

hello please help

[Errno 2] No such file or directory

pandasan
Автор

This changed my life i have been working on a small ai that does many stuff so this saved the project from being forgotten

wallu
Автор

My saved program file of python gets closed whenever i execute it what should i do ???? Plz reply

papaji
Автор

Sir after creating the python project... How to copy my project to share with others?

sakthidrawingacademy
Автор

Man thanks this was really helpfull It seems that developers are obsessed with this way of running python.
IS there any alternative to cmd ?
BTW love the tip to open cmd thru file explorer it helps a lot in the beggings

rickdzurek
Автор

Thank you I was stuck for hours trying to figure this out

alexandriarichard
Автор

is there a possible way to open the path as admin?

evanbloom
Автор

How to run file python after py in cmd? In terminal i'm write py then after this i want to run file pyhton.

rianpratama
Автор

You my man is a KING ty for the help finally some real help not bs like the rest videos on youtube

johnnygarcia
Автор

Very useful information...Thank U so much sir...👍

aranyaojha
Автор

It says "-Error this must be run with admin privileges"

any fix?

minibuile
Автор

What if it's a program that's not a text file it's like a d-dos sight

ospy_edits
Автор

Very much helpful to us...expecting more information from python & Php

dhivyapraveen
Автор

Its showing python can't open this file what can i do

bts__kannadaarmy_club
Автор

I appreciate my own comment too as I didn't think that it would be such a 'to the point'
pls keep my request and try to fulfill it in ur next vdo

priyanshumukherjee