Learn Python tkinter GUI progress bars easy 📊

แชร์
ฝัง

ความคิดเห็น • 64

  • @BroCodez
    @BroCodez  3 ปีที่แล้ว +42

    from tkinter import *
    from tkinter.ttk import *
    import time
    def start():
    GB = 100
    download = 0
    speed = 1
    while(download

    • @Gold-ll9hq
      @Gold-ll9hq 3 ปีที่แล้ว

      very cool

    • @emersontristen4080
      @emersontristen4080 3 ปีที่แล้ว

      i know I'm kinda off topic but does anybody know a good place to stream newly released movies online?

    • @keatonfelipe8720
      @keatonfelipe8720 3 ปีที่แล้ว

      @Emerson Tristen I dunno I would suggest flixportal. you can find it thru google:D -keaton

    • @emersontristen4080
      @emersontristen4080 3 ปีที่แล้ว

      @Keaton Felipe Thank you, signed up and it seems to work :) Appreciate it!!

    • @keatonfelipe8720
      @keatonfelipe8720 3 ปีที่แล้ว

      @Emerson Tristen Happy to help xD

  • @rontarrant
    @rontarrant 3 ปีที่แล้ว +2

    Excellent explanation. Thank you.

  • @analytiks8784
    @analytiks8784 ปีที่แล้ว

    Wow man!!!! Absolutely amazing tutorial! Just subscribed! Thanks

  • @marekbartczak4363
    @marekbartczak4363 3 ปีที่แล้ว +1

    thank you! this tutorial was very helpful

  • @kapibara2440
    @kapibara2440 7 หลายเดือนก่อน

    You are just amazing! Thank you🎉

  • @piotrkopcewicz5227
    @piotrkopcewicz5227 ปีที่แล้ว

    perfecto !!! thank you as always :)

  • @beingzero7541
    @beingzero7541 2 ปีที่แล้ว

    Nicely done!!!!!
    💯%

  • @MY-pj3gf
    @MY-pj3gf 2 ปีที่แล้ว +1

    this is so cool thank you so much

  • @fmc726
    @fmc726 3 ปีที่แล้ว +1

    Thank you for your codes.

  • @rafiullah-zz1lf
    @rafiullah-zz1lf 3 ปีที่แล้ว

    Thanks for the help

  • @RARYAMEHD
    @RARYAMEHD 9 หลายเดือนก่อน

    thanks for vid helpful

  • @user-gx7lg2ie6o
    @user-gx7lg2ie6o 11 หลายเดือนก่อน

    it's very useful thx !

  • @shahzodsayfiddinov9510
    @shahzodsayfiddinov9510 3 ปีที่แล้ว

    Thank you Bro!

  • @cristiucvladimir7909
    @cristiucvladimir7909 2 หลายเดือนก่อน

    Thanks bro!

  • @KarimKarim-kk5mn
    @KarimKarim-kk5mn 3 ปีที่แล้ว

    Cooooooool

  • @parisdoherty6241
    @parisdoherty6241 2 ปีที่แล้ว

    thank you!!

  • @rau149
    @rau149 2 ปีที่แล้ว

    Cool thing

  • @debadityabhar5322
    @debadityabhar5322 3 ปีที่แล้ว +2

    Nice demonstration

    • @BroCodez
      @BroCodez  3 ปีที่แล้ว

      thanks for watching Debaditya!

  • @youssefalkhodary
    @youssefalkhodary ปีที่แล้ว

    perfect 🔥

  • @codewithmomo1959
    @codewithmomo1959 2 ปีที่แล้ว

    Cool

  • @code_keks742
    @code_keks742 3 ปีที่แล้ว

    Hey bro i'am from germany and i love you vidio

  • @achmadfachturrohman3488
    @achmadfachturrohman3488 2 ปีที่แล้ว +1

    Hi Bro, Can you help me to make a progressbar tkinter for updating epoch during the training? I means Training using TensorFlow. Btw thats a clearly tutorial. Thanks... ✌️

  • @YourLocalBaconRblx
    @YourLocalBaconRblx ปีที่แล้ว +2

    But… there’s a problem!
    If you try to click “download file” again if it already is complete, it could be broken and overlap all the text

  • @Amir_Plays_non_stop
    @Amir_Plays_non_stop 3 ปีที่แล้ว +2

    the bar['value'] really confuses me I am used to java where if I want a value of something I just do bar.value idk seems easier

  • @furuderika5990
    @furuderika5990 2 ปีที่แล้ว

    Thanks

  • @starstenaal527
    @starstenaal527 2 ปีที่แล้ว +1

    can you move the window around while it's filling the progress bar? I have an issue where it only refreshes the window position when some progress is made.

    • @studiotutorial
      @studiotutorial ปีที่แล้ว

      use Threading to make it run on the same time while the window.mainloop() is running

  • @FogXstudios
    @FogXstudios ปีที่แล้ว +1

    i have problem in this StringVar.set saying to me "add value" later "add self" and i dont know what to do im on 3.10 python

  • @proudn9355
    @proudn9355 ปีที่แล้ว

    thank you

  • @varunj9888
    @varunj9888 ปีที่แล้ว

    nice/

  • @leandrorivera5044
    @leandrorivera5044 ปีที่แล้ว

    ey bro thanks, crack this is exactly what I needed

  • @PhaminhHoang_DHTIAHN_
    @PhaminhHoang_DHTIAHN_ 5 หลายเดือนก่อน

    I want to change the color of the download bar, how do I do that?

  • @Krullfath
    @Krullfath 3 ปีที่แล้ว +2

    If I use this code inside my program it breaks my other popup's code I don't know why, it says that it doesn't understand bg="color" and fg="color"

    • @rethno
      @rethno 3 ปีที่แล้ว +2

      Use "from tkinter import ttk" instead of "from tkinter.ttk import *" and don't forget to add "ttk." in front of everything you call from this library [ie: bar = ttk.Progressbar(window,orient=HORIZONTAL,length=300)]. It works for me

    • @odams
      @odams 2 ปีที่แล้ว

      @@rethno tysm

  • @wolfsgeeks3644
    @wolfsgeeks3644 2 ปีที่แล้ว

    hello bro code
    Can you help me to put a process in the progressbar
    for example deleting multiple files displayed by the progressbar

  • @exg421
    @exg421 3 ปีที่แล้ว +3

    I found a bug:) If ur procents are already on 100 and u click download button again it will update percent aand text but not the progressbar! Thx for answer:)
    P.S.: I love u!

    • @SergiCasamiquela
      @SergiCasamiquela 2 ปีที่แล้ว +3

      to solve that I found a quick way
      at the begining of the def just add bar['value'] = 0 like this:
      def start():
      GB = 100
      download = 0
      speed = 1
      bar['value'] = 0
      Hope this works for you aswell :)

    • @exg421
      @exg421 2 ปีที่แล้ว

      @@SergiCasamiquela Thanks

    • @endtropi
      @endtropi ปีที่แล้ว

      @@SergiCasamiquela thanx man!

  • @wolfsgeeks3644
    @wolfsgeeks3644 2 ปีที่แล้ว

    so that the amount of files deleted is the progress bar

  • @goldenmasked480
    @goldenmasked480 2 ปีที่แล้ว +1

    how to make it end by itself without pressing the x button top right?

  • @Inte8ranD
    @Inte8ranD ปีที่แล้ว

    How do you change the color of the bar? @Bro Code
    Because, I would like to use this code to simulate a Sugar Level Monitor using 4 colors, such as Blue = 1 - 25, Green = 26 - 50, Yellow = 51 -75 and Red = 76 - 100. This colors would signal the amount of sugar in the body using the accelerometer sensor of a Smartphone, @Bro Code So could you do a video illustrating how the colors would move backwards and forwards when Sugar is the body or very little, @Bro Code
    I forgot? Using the current version of Python, Bro Code or any one that can help me with this issue as well.
    I just realized, if you can use Hex
    Code for the colors, Bro Code and everyone,, ok.
    #Accelerometer, #HexCode, #PythonCooding #Progressbar and #CreatingASensor #SimulatingSensor #Diabetes

    • @rahulkalekar6369
      @rahulkalekar6369 8 หลายเดือนก่อน

      can u send me the link for the code for this or the code itself?

  • @exe-ont
    @exe-ont 3 ปีที่แล้ว

    Can you help start wont work for me

  • @monwil3296
    @monwil3296 3 ปีที่แล้ว

    Hyo Bro 👌

    • @BroCodez
      @BroCodez  3 ปีที่แล้ว +1

      Hiya Mon Wil 👍

  • @Naumkovich
    @Naumkovich 4 หลายเดือนก่อน

    bruh when i start the program, the window freezes until the scale is completely filled, how can I fix this?

    spec: python 3.8.10
    😪😪😪

  • @gustavoaponte1814
    @gustavoaponte1814 ปีที่แล้ว

    meow meow moew~!

  • @mikey7865
    @mikey7865 ปีที่แล้ว

    I need it in loop, so it keep the loading again and again.

  • @user-pi6hh3fm7n
    @user-pi6hh3fm7n 3 ปีที่แล้ว

    Progressbar in not defined((

  • @arpanshah355
    @arpanshah355 ปีที่แล้ว +1

    comment

  • @asmaaalomari4048
    @asmaaalomari4048 7 หลายเดือนก่อน

    .