Tkinter Python GUI Tutorial For Beginners 8 - Open New Window on Button Click - Multiple Windows

Поделиться
HTML-код
  • Опубликовано: 25 апр 2019
  • Welcome to this video on Tkinter Python GUI Tutorial For Beginners. This video shows how to Open New window on Button Click. So we will see how to handle Multiple Windows in Tkinter.
    Find the code used in this video here - github.com/abhishek305/Progra...
    So What is Tkinter ? Tkinter is the Python interface to the Tk GUI toolkit shipped with Python. In Python you can use the Tkinter module to create simple GUI programs. Tkinter does not always run reliably under IDLE Use IDLE’s editor to write GUI programs, but for best results run the program from the OS command line. Learn Tkinter In easy and simple steps.
    #ProgrammingKnowledge #Tkinter #PythonGUITutorial
    ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqcm.net/r1KEj
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - www.codebind.com
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

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

  • @priyanshuagrawal6216
    @priyanshuagrawal6216 4 года назад +1

    Hello,
    I have a doubt not regarding this video but about tkinter frames and button, I would be good if you help.
    I have created 3 buttons on a frame and it is showing its output on another frame which is frame 2 , but when I'm clicking on any button the output of both the buttons are shown in frame 2. I wanted that the output of frame 2 get update on every click.
    Please help.
    Thanks in advance

  • @learnlistenquran760
    @learnlistenquran760 4 года назад

    Hi sir plz tell me how to open image as label in new/second window.........I am hard trying but I can do it plz help me

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

    Can some one help me this says:
    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 1705, in __call__
    return self.func(*args)
    File "", line 77, in a_win
    a_window=Tk()
    TypeError: 'module' object is not callable
    i am at video 8:44

  • @voytechj
    @voytechj 5 лет назад

    good job with those tutorials
    You did make just one small mistake:
    but_01 = Button(..).place(..)

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

      What you call an error may be due to the difference between ID compa interpretara programs and other reasons. Coding can be learned only by having the same code I know it by myself
      Please go to my PYTHON INTERMEDIATE BEGINNINGS JBG1-45 channel
      I am a self-taught mute.

  • @ashhadahsan831
    @ashhadahsan831 5 лет назад +4

    How can we close the previous window and open new window on the click. ?Like we do in Java with dispose ()

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

      Use .destroy statement

  • @JackBright4908
    @JackBright4908 4 года назад

    b=Button(root, text="Search"), width=12, bg='blue', fg='red', command=exitt).place(x=150, y=380)
    I get invalid syntax error

    • @smartonedge6119
      @smartonedge6119 4 года назад

      It should be:
      b=Button(root, text="Search", width=12, bg='blue', fg='red', command=exit).place(x=150, y=380)

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

    There is a slight problem with the code. If you keep on pressing login, it will keep on opening new windows again and again. Is there a way to get around that because it would seem quite ridiculous to have multiple login windows opened.

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

      Pro tip : watch series on Kaldrostream. I've been using it for watching loads of movies during the lockdown.

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

      @Deacon Eric Yea, have been using kaldroStream for since december myself :)

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

      @Deacon Eric Definitely, I have been using Kaldrostream for since december myself :)

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

    hey dude can u please say me what version of python we should install and how to get tkinter

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

      tkinter comes with python so if you open python IDLE and open a new file you will be able to write in that file and then if you press run and then run module or just f5 it will run your code.

  • @shamoonshahid630
    @shamoonshahid630 5 лет назад +1

    how to close the previous window