How to Run Python Programs ( .py files ) on Windows 11 ( All Options )

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 786

  • @adflicto1
    @adflicto1 3 роки тому +207

    Thank you very much! I just started learning Python, and I didn't know how to open the program. You helped me a lot and I wrote my first python code :D

    • @ExampleProgram
      @ExampleProgram  3 роки тому +13

      Glad I could help!

    • @Marco-pq1hp
      @Marco-pq1hp 3 роки тому +2

      How did u learn python without never writing some code?

    • @adflicto1
      @adflicto1 3 роки тому +6

      @@Marco-pq1hp Only the simplest code, for example, how to print a name

    • @approving9632
      @approving9632 3 роки тому +2

      @@adflicto1 how far are you now

    • @romanlewke5067
      @romanlewke5067 3 роки тому +1

      same

  • @vijiyalakshmiganesan4479
    @vijiyalakshmiganesan4479 3 роки тому +1

    Best video for beginners who struggle to run the py after installation

  • @Oishiahmmed
    @Oishiahmmed 3 роки тому +9

    Exactly what i have been looking for 3 days 😌 thanks dude

  • @singh_nimisha
    @singh_nimisha 11 місяців тому +1

    I have just subscribed. I have learned a lot of R in my career as a Bioinformatician and now I want to see how python can help me! Your content is amazing!

  • @manoj.2003.
    @manoj.2003. Рік тому +1

    Simple way of understanding
    Thank you sir

  • @coolschoolteacher8251
    @coolschoolteacher8251 3 роки тому +1

    thanks so much i had no ides how to open them you helped alot!!!!! thanks

  • @sandaruraweesh7650
    @sandaruraweesh7650 3 роки тому +2

    thank you iknew tocode some codes ,but i didnt know run them out of shell😃👍👌

  • @koulickchakraborty8498
    @koulickchakraborty8498 2 роки тому +2

    You're a superb teacher

  • @persistent-s
    @persistent-s 3 роки тому +2

    You speak very nicely

  • @aregashadugna8121
    @aregashadugna8121 2 роки тому +1

    smart for beginners. thanks

  • @lindarivera8063
    @lindarivera8063 2 роки тому +1

    This really help me! Thank you so much!!

  • @soumyadasgupta7758
    @soumyadasgupta7758 3 роки тому +4

    Exactly what I was looking for.Thanks a billion.

  • @Diversifiedknowledge
    @Diversifiedknowledge 3 роки тому +4

    Thank you sir.

  • @CrazyWorld9597
    @CrazyWorld9597 3 роки тому +1

    Thanks for your video 👍

  • @jaydenabrown44
    @jaydenabrown44 2 роки тому +1

    Very informing!

  • @LuckyDuckyGamesTWW
    @LuckyDuckyGamesTWW Рік тому +1

    Question can i eddit thses files? I cant fine out how but I'm probably screwing something up.

    • @ExampleProgram
      @ExampleProgram  Рік тому

      right click on the file.
      you may find edit option.
      it edit option is not there then go for open with and choose a text editor

  • @NeerKumar-k2h
    @NeerKumar-k2h Рік тому +2

    Thanks sir😊

  • @musantshapheka8732
    @musantshapheka8732 3 роки тому +2

    Wow !!! thank you

  • @khurshidkhan532
    @khurshidkhan532 2 роки тому

    For CICS UI we use BMS macros which identify the physical layout of the page. The Assemble process creates physical page image and also creates a symbolic match which we can use in CICS or any other program that supports interactive feature. So my question is, is there any tool we can use to create a web page layout and use Python to use it as part of application UI.

  • @deepvoice0306
    @deepvoice0306 3 роки тому +1

    Thank u very much !!!!

  • @vjnt1star
    @vjnt1star 2 роки тому +1

    thank you it works

  • @preetagarwal6017
    @preetagarwal6017 2 роки тому +1

    Thank you sir

  • @Noname_vvb-w6n
    @Noname_vvb-w6n Місяць тому +1

    wow osm

  • @thuzar5401
    @thuzar5401 3 роки тому +1

    thank you

  • @papaji4545
    @papaji4545 2 роки тому

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

  • @Holyluckdan
    @Holyluckdan Рік тому

    you never said how to go down a line if enter runs the code how am i supposed to add another line

  • @Gzus
    @Gzus 2 роки тому +83

    I had no idea that I could simply type "cmd" in the address bar to open a command prompt at the current folder!

    • @ExampleProgram
      @ExampleProgram  2 роки тому +4

      :)

    • @syed_wahid
      @syed_wahid 2 роки тому

      World's best Havard University Prof.
      Teaching Free Python for self taught computer and Software Engineers.
      ua-cam.com/play/PLo6B2tSyBSVp1rBh7DjRs5du19sCEkUgM.html

    • @Kmreddsadad
      @Kmreddsadad Рік тому

      same, learned something new

  • @GALACTIC_WONDERS0
    @GALACTIC_WONDERS0 3 роки тому +1

    Thank you so much sir

  • @slobodanmilic1331
    @slobodanmilic1331 3 роки тому +12

    Hello Anil,
    You are excellent teacher.
    Your tutorial for C/C++ is the best on UA-cam, I believe the same is for Python.
    Regards
    Slobodan

  • @spongebobbatteries
    @spongebobbatteries 3 роки тому +40

    Wow I have never seen a short tutorial like this, that explains the basics but deep with detail and mentioning little hints on the side. Amazing job here, friend.

  • @VanshSiwach104
    @VanshSiwach104 7 місяців тому +3

    Thankyou i have a practical of python language sir , again thankyou for this wonderful tutorial

  • @suparnamishra8161
    @suparnamishra8161 3 роки тому +26

    This is the video which I have been looking for 5 days, thanks a lot, you saved my life bro

  • @adamshelley9767
    @adamshelley9767 2 роки тому +8

    Very helpful sir! Thanks so much for your concise instruction. I was getting very frustrated not understanding how to actually open and run the program. Python should put this tutorial on their website!

  • @SinOfLustAMV
    @SinOfLustAMV 4 роки тому +13

    thanks for the lil tutorial... this helped.

  • @veeramanigudiyan
    @veeramanigudiyan 3 роки тому +7

    Thank you very much! I just started learning Python, and I didn't know how to open the program. You helped me a lot...

  • @tohdioh9783
    @tohdioh9783 Рік тому +2

    make a kebab with python

  • @isuruwasana3989
    @isuruwasana3989 3 роки тому +40

    Teachers be like : Pay me and I'll teach you...
    UA-cam : I got you son 😎

  • @anonymousshubham5003
    @anonymousshubham5003 2 роки тому +1

    sir when I take input in integer if input enter class input so I get error : so that give me a if statement condition to solve the problem ......
    plz sir your lovely student......

  • @parinitabharti-bj9ud
    @parinitabharti-bj9ud 4 місяці тому +1

    The link of the python app is applicable for tab also ???

  • @karelsticha7749
    @karelsticha7749 Рік тому +4

    Damn, I've been struggling with opening my python file for hours. Crazy that you explained it to me in 4 minutes. Big love.

  • @ravanabrahma1229
    @ravanabrahma1229 Рік тому +3

    thank you very much, no body is explaining this minor beginning step. Thanks to you i can go forward. have been struggling on this for days.

  • @soldicelec860
    @soldicelec860 Місяць тому +1

    i am trying the command prompt and I followed the video but the terminal keeps saying sytax error. Can anyone help?

    • @ExampleProgram
      @ExampleProgram  29 днів тому

      can you provide more details about the error?

  • @paradox4687
    @paradox4687 Рік тому +1

    It doesnt say coding after desktop in cp

  • @ajaysrailzoneofficial
    @ajaysrailzoneofficial 2 роки тому +2

    thanks bro for the video kal college main help ho jaayega bhai

  • @sanjeethjavvaji5254
    @sanjeethjavvaji5254 3 роки тому +2

    Before seeing you tutorial I was confused.But after that it's ok

  • @Tom_Goldberg
    @Tom_Goldberg 2 роки тому +2

    I do not have my laptop or computer at home but i love coding so i tries it in my school lab

  • @SquishyTheBerries
    @SquishyTheBerries Рік тому +3

    I am trying to learn python right now for some raspberry pi projects I want to make, and I'm just trying to learn the basics right now. This was so helpful. Thanks so much :)

  • @darshchalanges5786
    @darshchalanges5786 2 роки тому +2

    thank you very much i just started python and now i just wrote my frist code

  • @Vikings_004
    @Vikings_004 3 роки тому +3

    Bruh we have to download some Python development kits before doing this write..... Plz help me to make the setup bhai

    • @ExampleProgram
      @ExampleProgram  3 роки тому +1

      i have already made those video's
      download and install Python
      ua-cam.com/video/fjr3loxoPWI/v-deo.html
      Set up vs code for Python
      ua-cam.com/video/Ezye7n-F0LM/v-deo.html

  • @mariofaltas4889
    @mariofaltas4889 3 роки тому +1

    Hello Anil..
    i found your tutorial is very good..
    but iyhave some question ... Does this method works on windows 7 ???????
    thanks,,

  • @anushaamani1622
    @anushaamani1622 2 роки тому +2

    Great sir.It is such a awesome vedio which helped me a lot to start my coding in python.....thank you lot for u r vedio sir

  • @andaswewindondowntheroad
    @andaswewindondowntheroad 3 роки тому +7

    Great intro to running Python scripts in Windows. Nice one!

  • @grimmington2569
    @grimmington2569 5 місяців тому +1

    whenever I type "Python" I get the whole "Python is not recognized as an internal or external command or program" bs. yet apparently it's compatible on all windows 11 devices... smh

    • @ExampleProgram
      @ExampleProgram  5 місяців тому

      If python is not installed then install it
      ua-cam.com/video/DjbDQfnnKWo/v-deo.html
      If python is already installed then set python path properly
      ua-cam.com/video/NPML38E6flQ/v-deo.html

    • @grimmington2569
      @grimmington2569 5 місяців тому

      Yeah, should probably lead with that. When people google why it doesnt work not one person says "make sure its installed" they all say "open command prompt or windows powershell and type python and it works" thankfully one of my buddies was smart enough to ask about whether or not I downloaded it. Its like everyone that uses python assumes that if you're asking about python, you already know python

  • @Slic-Rock
    @Slic-Rock 2 роки тому +1

    Hi can you make a video how to use Python with win 10 to connect to Modbus RTU with USB to RS485.
    Thank you

  • @gamerpajjiyt9528
    @gamerpajjiyt9528 Рік тому +1

    hi i am from india tommorow is my practical and i don't know how to open python i was just clicking ctrl+n
    Cancel
    Comment

    • @ExampleProgram
      @ExampleProgram  Рік тому

      Hope you have learnt How to Run Python Program from this video :)

  • @GJigyashuSahu
    @GJigyashuSahu 3 роки тому +2

    can u plz make video to define area of triangle in IDLE

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      ua-cam.com/video/sbbNGKc1WCw/v-deo.html
      same program
      run this in idle as explained in this video

  • @PrinceofDev
    @PrinceofDev Рік тому +2

    thank you sir you really helped me build my first code

  • @elnegonjz
    @elnegonjz 3 роки тому +4

    I understood all about this program in the first 49 seconds. Thanks very much...

  • @themartian7121
    @themartian7121 10 місяців тому +1

    Awesome informative content for a bPthon beginner. print("Thank you!")

  • @himangku6240
    @himangku6240 3 роки тому +1

    Bro i have python 3.9.6 but in the shell the text are not comming in coloured form!! Plzz help!!

  • @KoyoteJagOfficial
    @KoyoteJagOfficial 28 днів тому +1

    Why does it tell me to take my computer our of S Mode....Is there a way around that?

    • @ExampleProgram
      @ExampleProgram  28 днів тому

      S Mode ??

    • @KoyoteJagOfficial
      @KoyoteJagOfficial 28 днів тому

      @@ExampleProgram I went ahead and switched it out of S Mode, but it says you can't change it once you do it. But in order to run Python on Windows 11 at least...you have to.

  • @rojenhasan2281
    @rojenhasan2281 3 роки тому +6

    You are better than my teachers. Thank you so much

  • @maheshkumar3857
    @maheshkumar3857 3 роки тому +3

    nice but audio has slightly disturbance with some irritating noise while listening with hearphone

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      My mic gave some problems that day.
      I noticed that while editing.
      Sorry about that.

    • @maheshkumar3857
      @maheshkumar3857 3 роки тому +1

      @@ExampleProgram no problem bro...actually iam ur subscriber..ur all videos are good. But this video was slightly audio disturbing Thats the reason i said u

  • @krithikakrithika5821
    @krithikakrithika5821 3 роки тому +2

    Sir for me python is not recognize as an internal r external command...
    What to do sir...
    Pls reply

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      Add python installation location to the path environment variable

  • @bilal5410
    @bilal5410 2 роки тому +2

    Bhai python pe programming ka video chaiye....

  • @orangedragons1
    @orangedragons1 2 роки тому +1

    This doesn'to work for me. It tells me that python doesn't exist. What do I do? Please I'm desperate

    • @ExampleProgram
      @ExampleProgram  2 роки тому

      if you have installed python then make sure that you have set the path environment variable.
      check out ua-cam.com/video/lezhrFdVSVY/v-deo.html

  • @prachis6785
    @prachis6785 3 роки тому +2

    If I hit enter button I am getting this message :python is not recognize as internal external command,operable programe or batch file can any one help me with this thanks

    • @ExampleProgram
      @ExampleProgram  3 роки тому +1

      Make sure that you have properly set the path environment variable 👍

    • @prachis6785
      @prachis6785 3 роки тому +1

      @@ExampleProgram yes ,set the path and its coming now thanks a lot for kind reply

  • @Anushka-jx8ky
    @Anushka-jx8ky 6 місяців тому +2

    You are super cool , mind blowing

  • @sreekarg8648
    @sreekarg8648 3 роки тому +10

    What’s the difference between regular python shell and the IDLE?

    • @Wambadoo
      @Wambadoo 3 роки тому +7

      The shell is plain Python. As soon as you press enter, it'll execute it. So you can't really make programs with it. The IDLE is similar but if you press Ctrl + N it'll make a new file. In the file, you can edit code and execute it whenever you want.

  • @roshinirose8119
    @roshinirose8119 Рік тому +1

    When I type out python @3:45 I get the 'python' is not recognized as an internal or external comman

    • @ExampleProgram
      @ExampleProgram  Рік тому

      if python is not installed then install it.
      ( make sure that you check the add python to path option during installation )
      checout ua-cam.com/video/DjbDQfnnKWo/v-deo.html
      if python is already installed then add python installation to path
      checkout ua-cam.com/video/NPML38E6flQ/v-deo.html
      hope this helps :)

  • @LaminateShark
    @LaminateShark 2 роки тому +1

    it says 'Python' is not recognized as an internal or external command,
    operable program or batch file.

    • @ExampleProgram
      @ExampleProgram  2 роки тому

      if python is installed then make sure that you have set the path environment variable properly :)

    • @LaminateShark
      @LaminateShark 2 роки тому

      @@ExampleProgram yah I did it now it works

  • @chak_dz6961
    @chak_dz6961 3 роки тому +3

    Bro !!!.honestly you are the only man who made a python tutoriel with simple words who a biggener can understand

  • @prabhakarkurdekar5477
    @prabhakarkurdekar5477 Рік тому +1

    How to learn python easily

  • @AlihaSiddiqui
    @AlihaSiddiqui 5 днів тому +1

    Which app you should use? Please tell me

  • @sekarmukilan4627
    @sekarmukilan4627 3 роки тому +1

    Guys latest version of python was released this year
    version 3.9 Download that ...

  • @isuruwasana3989
    @isuruwasana3989 3 роки тому +28

    You saved my life bro!

  • @gaganggs3212
    @gaganggs3212 3 роки тому +2

    This is the video
    which I am searching
    Thanks a lot for helping
    Because of you I am able to understand how to run Python thanks

  • @makotao7218
    @makotao7218 2 роки тому +1

    What a fucking amazing video. I've just watched a 5min video showing only one method and it simply didn't work, but with your vid I learned several ways to make it run. Thanks, man!

  • @archmadao
    @archmadao 3 роки тому +1

    he has an Indian accent, he has proven more superior than me

  • @munchmoo6586
    @munchmoo6586 Рік тому +2

    Thank you so much! I was having so much trouble deciphering the official tutorial, but turns out its actually quite simple.

  • @wclxb
    @wclxb 3 роки тому +8

    When I try to run the code, it just says "'python' is not recognized as an internal or external command,
    operable program or batch file."

    • @Karim-tt1sj
      @Karim-tt1sj 3 роки тому

      @Preet Patel u saved me lool

  • @jagishan3454
    @jagishan3454 2 роки тому +2

    thank you so much, this helped a lot

  • @julianpineapple828
    @julianpineapple828 4 місяці тому

    When i type in “dir” then “python pyloris.py” it says “SyntaxError: multiple exception types must be parenthesized” and it won’t run the file. How do I fix this?

  • @MarieColaco
    @MarieColaco Рік тому +1

    Anil, thank you so much for your basic Python program. Now I can create my own script and run as Python. Best regards, AK.

  • @Puhhjkhftlvg
    @Puhhjkhftlvg 2 роки тому +10

    Really good tutorial with many different options. Was just going to run my first python file but couldnt get it to work, but after this I do!

  • @AnjaliSingh-RHEETnKIRT
    @AnjaliSingh-RHEETnKIRT 7 місяців тому +1

    Thank you very much for this tutorial ! I'm new to coding and I did not have any idea how to run my program - thanks a lot !

  • @ernestatom3747
    @ernestatom3747 3 роки тому

    Hello, I'm Ernest Lum And I Want to ask you if how do I start Comand Prompt-python on SurfacePro4?

  • @_jnathan_kris_7014
    @_jnathan_kris_7014 3 роки тому +3

    Thanks for the video, helped me start off with python the first time

  • @gabo4632
    @gabo4632 2 роки тому +1

    Thanks, Anil! Very nice tutorial vid. :)

  • @Luminov-sh2tp
    @Luminov-sh2tp 3 місяці тому

    idk why but.When i press Shift+f5 it just lowers the brightness.But this defenetly works.I tested on my friends Macos.

  • @SHIVASHANKARShiva-p7c
    @SHIVASHANKARShiva-p7c 2 місяці тому +1

    Thank you so much this was very helpful

  • @amritamajumder2518
    @amritamajumder2518 3 роки тому +1

    My windows 10 is copyright version not original can I run on it?

  • @khurshidkhan532
    @khurshidkhan532 2 роки тому +1

    Good Python presentation video. I am a beginner and need to learn Python. Originally, I am a COBOL developer and need to switch.

  • @roomayadav4390
    @roomayadav4390 2 роки тому +1

    Thanks thanks a lot thanks a trillion awesome it helped me in my practical

  • @DeepFrydTurd
    @DeepFrydTurd Рік тому +1

    you can run programs directly from Command prompt but you have to open the .py file first on another Environment then choose" open only once" and repeat the file execution with the same command from earlier. and if your opening the file with python to prevent it from closing right after type an input variable to stop the script

  • @fichtltuning
    @fichtltuning 3 роки тому +1

    thank you, but when i run my file it just open and after 0,5 seccond it close. why should i do?
    the code is : print ("dows this work")

    • @ExampleProgram
      @ExampleProgram  3 роки тому

      In the end of your program add the line
      Input("hit enter button to exit")

  • @fazhan_1037
    @fazhan_1037 2 роки тому +1

    when u dont understand a single coding but still wants to be a coder XD

  • @halzo2902
    @halzo2902 2 роки тому +2

    What's that font in IDLE? :D

  • @bedwarschill
    @bedwarschill Рік тому +1

    i have a problem my idle python is too small how can i zoom?

    • @ExampleProgram
      @ExampleProgram  Рік тому

      increase font size
      ua-cam.com/video/Tn4mwhh7z0M/v-deo.html

  • @shivagarwal6334
    @shivagarwal6334 2 роки тому +3

    I am a learner. Your tutorial is very clear and informative. Thanks.