How to Run First Python Program using IDLE

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • This video shows how to execute First Python program using Python's IDLE software.

Комментарии • 108

  • @ricardos2156
    @ricardos2156 2 года назад +17

    Best explanation! Most RUclipsrs make long and complicated videos. Thanks for the vid.

    • @SelfStudyTutorials
      @SelfStudyTutorials  2 года назад

      Dear @Ricardo S,
      Glad you liked it!
      Enjoy Self Study Tutorials...

  • @HEARTACHEISH1
    @HEARTACHEISH1 Год назад +11

    I just learned the most in 3 minutes than I have trying to read a tutorial on the site. Thanks..

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      Happy to know that it's useful to you.

    • @HEARTACHEISH1
      @HEARTACHEISH1 Год назад +2

      @@SelfStudyTutorials I have a question about a code. I wanted to write a code that will continue in a loop. Week_income=int(input(“Enter income:”)
      #if weekly income is less than 500
      If(Week_income

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад +2

      Dear @Heartcheish1, I hope following code will be useful to you:
      =====
      income = 0
      tax_rate = float(input("Enter tax rate:"))
      while income != -1:
      income = float(input("Enter your income (-1 to exit): "))
      if income

  • @reistruga8255
    @reistruga8255 6 месяцев назад +2

    Thank you so much omgggg I don't know why other youtube videos don't explain it like this

  • @Astabolito
    @Astabolito 6 месяцев назад +1

    Thank you so much, very concise info! Appreciate you

  • @SpaceChickCrypto
    @SpaceChickCrypto 3 года назад +3

    what code do i input to keep the program window open? when i "save as" and go back to the desktop click it open, it opens and closes instantly

    • @SelfStudyTutorials
      @SelfStudyTutorials  3 года назад +1

      Hello @Girl Talk Stocks, There are multiple ways to add pause before your program ends. One of the way is to add following statement at the end of your python program: input("Press any key to stop")
      Try following program:
      #Sample Python program
      print ("Welcome to Self Study Tutorials")
      #This function will help you to take pause before program ends
      input("Press any key to stop execution")

  • @marcelopadilla9459
    @marcelopadilla9459 2 года назад

    thank you i had completely forgotten the how to use this when learning java

  • @AndresGarcia-ed9fh
    @AndresGarcia-ed9fh Год назад +1

    Excellent !! great explanation, thanks

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад +1

      You are welcome Andres Garcia. Happy to know that you enjoyed the Python Self Study Tutorials. Do share it with your friends for wider publicity of this useful tutorial.

  • @trytcy
    @trytcy 2 месяца назад +2

    wow thanks so much

  • @leemcford7088
    @leemcford7088 6 месяцев назад +1

    Great video.

  • @AdityaPatelDr
    @AdityaPatelDr 2 года назад +1

    Very useful video and explanation.

    • @SelfStudyTutorials
      @SelfStudyTutorials  2 года назад

      Glad you liked it.
      Thank you @AdityaPatel. Enjoy Self Study Tutorials...

  • @mustafakhan5821
    @mustafakhan5821 2 года назад

    Good short explanation. Do you use this environment or Pycharm or something else

    • @SelfStudyTutorials
      @SelfStudyTutorials  2 года назад

      Dear Mustafa, I use mainly three python environments: IDLE, Pycharm and Google Colab. ruclips.net/video/nbkE4jyBEI4/видео.html

  • @ANISHA_ANSARY
    @ANISHA_ANSARY Год назад

    Great explanation
    Thank you so much👍🙏

  • @somashekharnatikar2496
    @somashekharnatikar2496 Месяц назад

    Thank you sir❤🙏

  • @pawanchoudhury2398
    @pawanchoudhury2398 2 года назад

    Very easy teaching sir

  • @GokulGokul-ri3nn
    @GokulGokul-ri3nn Месяц назад +1

    🎉🎉

  • @balatechtvm1438
    @balatechtvm1438 2 года назад

    It is ver uselful for me..Thank you sir

  • @pyapilisravani6911
    @pyapilisravani6911 8 месяцев назад

    Tq video is useful

  • @mahikapatel.
    @mahikapatel. 3 года назад +1

    Excellent 👍

  • @carlosblanquicett2266
    @carlosblanquicett2266 Год назад

    Great Video !

  • @SpaceChickCrypto
    @SpaceChickCrypto 3 года назад

    excellent video btw!!! subscribed!

  • @kazuarcus7847
    @kazuarcus7847 2 года назад +1

    Thank you so much!

  • @syedmohdhasanabidi7906
    @syedmohdhasanabidi7906 Год назад

    Thanks good explanation

  • @sudipmazumdar5358
    @sudipmazumdar5358 Год назад +1

    Thanks a lot !!

  • @chinnuthali350
    @chinnuthali350 3 года назад +2

    Super sir

  • @dhanasingitham8138
    @dhanasingitham8138 2 года назад

    Thank you yar, it's useful☺

    • @SelfStudyTutorials
      @SelfStudyTutorials  2 года назад

      Welcome 😊 Glad to hear that !!! .. Keep watching Self Study Tutorials !!!

  • @pawanchoudhury2398
    @pawanchoudhury2398 2 года назад

    Excellent sir

  • @kavyanjali880
    @kavyanjali880 Год назад

    Thank you sir

  • @ASkb582
    @ASkb582 Год назад

    exellent video

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      I am glad that you liked it. Enjoy @SelfStudyTutorials .. @Rekha P M.

  • @LiSa-ze8kf
    @LiSa-ze8kf Месяц назад

    Thankyou
    .!

  • @midathapallibabu7480
    @midathapallibabu7480 2 года назад

    thank you so much sir 💚

  • @rozrexgaming9437
    @rozrexgaming9437 5 месяцев назад

    Thank you

  • @prodby.m4x3d
    @prodby.m4x3d 2 года назад

    Thank you very much

  • @khushbusahani579
    @khushbusahani579 3 года назад

    Thankyou so much sir 🔥🔥

  • @rvrshadow255
    @rvrshadow255 10 месяцев назад

    Thank youu so much🙌

  • @DarkenedDoor
    @DarkenedDoor Год назад

    I mean you could of just used , which would make a space, because the + and the " "
    Edit: I realized that you were probably using an older version of IDLE

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      Dear AFCF,
      Yes, at the time of preparation of this video, the available stable version of IDLE was 3.8.5; hence I used Python 3.8.5. As on March 2023, the latest available version of IDLE is 3.11.2.

  • @anitapatil456
    @anitapatil456 Год назад

    The last window which displays the GUI is not opening. Please help.
    All steps are followed

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      It works well on my Windows. Please clarify which platform/OS are you using?

  • @amanullahsiddique3451
    @amanullahsiddique3451 11 месяцев назад

    Thanks

  • @yamvvv2733
    @yamvvv2733 2 года назад

    Thank you so much

  • @user-zd3ij5bn2q
    @user-zd3ij5bn2q 11 месяцев назад

    i got this output
    Enter your name: k
    Traceback (most recent call last):
    File "C:\Users\odeha\Documents\test.py", line 2, in
    name = input("Enter your name: ")
    File "", line 1, in
    NameError: name 'k' is not defined
    >>>
    whats the problem??

    • @user-zd3ij5bn2q
      @user-zd3ij5bn2q 11 месяцев назад

      SOLUTION : iam using Python 2.7 , so i have to use raw_input instead of input

    • @SelfStudyTutorials
      @SelfStudyTutorials  11 месяцев назад

      Please share your full code to understand program error.

  • @prashu5694
    @prashu5694 Год назад

    Thanks sir 😇

  • @divyaganta5872
    @divyaganta5872 Год назад

    Sir i follow the same steps for second code... But it shows.. U forgot comma

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      Dear Divya, Please share more details/full code to understand your error.

  • @navyakammampati8740
    @navyakammampati8740 Год назад

    Thank u sir

  • @rajprakash1409
    @rajprakash1409 6 месяцев назад

    How to debug the code from python IDLE ?

    • @SelfStudyTutorials
      @SelfStudyTutorials  6 месяцев назад

      Dear Raj,
      Follow these steps to debug program in IDLE.
      From Python's UDLE Menubar:
      Select Debug -> Debugger
      This will start debugger, and you can check your variable values during execution of your code.

  • @CHADWARS
    @CHADWARS Год назад

    Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license()" for more information.
    x=20
    y=80
    'z='x+y
    SyntaxError: invalid syntax
    i tried this in idle but i dont know why this is not working

    • @SelfStudyTutorials
      @SelfStudyTutorials  Год назад

      Your reason of error is following line: 'z='x+y
      You should write it as under:
      z=x+y
      I hope this will solve your problem. Do let me know if you facing any further problem in this regard.
      With best wishes,

    • @CHADWARS
      @CHADWARS Год назад

      @@SelfStudyTutorials thankyou so much, i hope you gert all the pagdi's in the world

  • @madhavishrivastava
    @madhavishrivastava Год назад

    👍👍

  • @vsentertainment7943
    @vsentertainment7943 2 года назад

    Sir aapne python ke pahle Kya lagaya

    • @SelfStudyTutorials
      @SelfStudyTutorials  2 года назад +1

      Dear VSE, please provide more details about your question.

  • @lyon8539
    @lyon8539 Год назад

    Do you hacking as you run python idle in php?

  • @KartikPatil-oq5wr
    @KartikPatil-oq5wr 4 месяца назад

    Link to download

    • @SelfStudyTutorials
      @SelfStudyTutorials  4 месяца назад

      Dear Kartik,
      Here is the link to download: www.python.org/downloads/
      Download required software version based on your operating system (Windows/MAC/Linux).
      With best wishes

  • @amit192114
    @amit192114 Год назад

    Bhai face tea karo

  • @amit192114
    @amit192114 Год назад

    Sorry reavel karo

  • @swathisree1318
    @swathisree1318 2 года назад +1

    Thank you sir