Python Tkinter GUI Design Using ttkbootstrap - Complete Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

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

  • @nisidabay
    @nisidabay ปีที่แล้ว +16

    This guy is amazing; he overflows with passion for what he does and is a benchmark in everything related to tkinter. I don't know if it's because of the speed with which he teaches that he chooses procedural programming instead of object-oriented programming. Anyway, this is the magic of Python, choosing what makes you happy.

  • @mortyrickerson6322
    @mortyrickerson6322 ปีที่แล้ว +11

    This channel is a blessing to humanity. Good work team!

  • @flioink
    @flioink 3 หลายเดือนก่อน +1

    Alright, this was useful.
    Thinking of ideas to apply these cool widgets to.
    My only nitpick with Tkinter would be that there are no rounded buttons built-in. But that's likely not too hard to add with custom images.

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

    This is the best tkinter introduction. ttkbootstrap is a cherry on top.

  • @alouiyaz
    @alouiyaz 10 หลายเดือนก่อน +1

    great, I've just finished a program and I've struggled in the graphics section until I found this turotrial.

  • @mayorc
    @mayorc ปีที่แล้ว +14

    Looks cool, but recently after a long time using Tkinter and bimpy (Dear ImGui wrapper for Python) I switched to NiceGUI, I find it easier to customize, using QUASAR and Tailwind CSS classes. It has some limits, and sure Tkinter is a bit faster. But the power to customize things using HTML, CSS and Javascript libraries, VUE components, makes it very good.

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

      I am a Web Developer, I don't understand the reason for all these, are they used to build websites?....I know tkinter is used to build desktop applications.

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

      ​@@basscoversimulation3167 NiceGUI is built on top of FASTAPI, it can be used to create both LOCAL apps running on your localhost, and Web Services. So in my case, it's a better deal. But think about this, there is no perfect solutions or frameworks. Every solution has some limits that in some circumstances can become dealbreakers.

  • @Ic37r011
    @Ic37r011 ปีที่แล้ว +4

    This is AWESOME. Wow what a professional well presented masterclass. Thanks friend.

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

      Glad you enjoyed it!

    • @Allen-j8t3n
      @Allen-j8t3n 11 หลายเดือนก่อน

      @@TkinterPython Hey brother ! Does this teach tkinter and ttkbootstrap from beggining?

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

    Wish u were my programing lecturer.Lessons would have been so much interesting.Truly grateful for this tutorial.❤

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

    There's no word that can thank you enough

  • @charlesspringer4709
    @charlesspringer4709 10 หลายเดือนก่อน +2

    I will have to try it. Free tip: Please don't make forward references like "I'll cover that in a minute", "I'll go over that later", etc. It breaks comprehension and distracts it with an expectation.

    • @kodiak809
      @kodiak809 10 หลายเดือนก่อน

      You mean I should watch it 3hrs straight?

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

      but he does cover it in a minute

    • @charlesspringer4709
      @charlesspringer4709 5 หลายเดือนก่อน +1

      @@freesoftwares6042 Yes, but why should I be thinking about it? Is there no content while I wait for it? It is weak pedagogy.

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

      @@charlesspringer4709 sir you are right 100% it could be better , with that said give him a break hes sharing free knowledge for everyone to learn from and enjoy

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

      @@freesoftwares6042 It is my hopeless personal crusade to save many man years and improve comprehension on TH-cam. The targets are forward references and using the word "what" when not asking a question such as "What you want to do now is you want to..."

  • @DiogoSBastos
    @DiogoSBastos 10 หลายเดือนก่อน +1

    Lex Luthor, I love your content. Always helpfull and understandable. Thank you so much.

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

    Really good tutorial, it's amazing we can watch it for free

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

    This is amazing! Love your TKINTER content.

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

    Your teaching style is so good sir😂😂 i can't even feel bore for a single second❤ i enjoyed and learned so much about gui thanku sir for this great lecture 😊

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

    Love your TKINTER book and content. You are awesome. 🥰

  • @0xBerto
    @0xBerto 10 หลายเดือนก่อน +2

    But, can you show packaging this and exporting as an executable to be installed cross-platform? Because I haven’t gotten Pyinstaller to work… ever hahahha

  • @artaxerxes360
    @artaxerxes360 ปีที่แล้ว +8

    This looks way better than customtkinter project

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

    Thanks for creating complete course

  • @akhilnautiyal1544
    @akhilnautiyal1544 11 หลายเดือนก่อน

    There is one another video on tkinter,
    which video should i learn from?

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

    Hallo Good course and Notice you like the bootstyle danger. The Toast Notification section
    is not working in Microsof Visual Basic 2022.

  • @_Sparrowsky
    @_Sparrowsky 6 หลายเดือนก่อน

    Nice but you don't have to run project in cmd. Ctrl+B in SublimeText works ;)

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

    Hi John, as usual thanks a lot for your great video !!! I have a question about progressbar, is it possible to get the progressbar's value and print it like for sliders ? many thanks.

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

    Hi thank you so much sir, The themes of TTKBootstrap do not apply to a second window opened from the first one.

  • @rasiyanin
    @rasiyanin 8 หลายเดือนก่อน +1

    3 hours to create simple GUI form with 6 buttons? Why when exist Delphi or the same?

  • @efraildokme
    @efraildokme 9 หลายเดือนก่อน +1

    why python doesn't use drag and drop tecnology on devoloping user interface.

  • @petr0_775
    @petr0_775 3 หลายเดือนก่อน

    thx, you are the best!

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

    the bootstyle doesn't work on the labels of the other extra window i open, for example about window :(

  • @vladmakrov8394
    @vladmakrov8394 10 หลายเดือนก่อน +1

    Amazing tutorial, thanks a lot. I have a question, i would like to use the localization in French. (C:\Python310\Lib\site-packages\ttkbootstrap\localization\msgs.py) How can i do that in my main.py? Thank you again.

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

    In the first example the label has alternating text , but no timer is used , still it averages about 2/sec how does that work?

  • @ЮсефМехда
    @ЮсефМехда 11 หลายเดือนก่อน

    Hello! Please help me how to correctly solve the administration problem, for example, use Python,QT, PostgreSQL. Please recommend an algorithm for organizing an access level for adesktop application where different interface components are included in different access classes, and when a new user is added, he will be included in one of these classes, and for him there will be Only components that are included in this access class are accessible. The question is, in order to implement this, what algorithm can be supported, or if there is documentation that can help resolve this issue. Thank you very much in advance!

  • @Ravi-pe9oi
    @Ravi-pe9oi ปีที่แล้ว

    Sir please teach you how to make an responsive navbar with right corner hamburger and icon using ttkboostrap

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

    Getting this error at 1:24:00,
    "AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?"
    I had to go into the library and change that line from Image.CUBIC to Image.BICUBIC.
    The path is "./.venv/Lib/site-packages/ttkbootstrap/widgets.py" and was on line 856.

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

      Seems like it was from a recent update of PIL. Should be fixed itself anytime soon

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

      In the meantime add this to imports:
      from PIL import Image # until ttkbootstrap (currect 1.10.1) is fixed for
      Image.CUBIC = Image.BICUBIC # depreciated CUBIC in PIL, we need these two lines.
      Got this from stackoverflow..

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

      Today is your lucky day friend. Click on the Meters class and go to the definition, then find "CUBIC" and change it to "BICUBIC"

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

    is the "watch later" feature gone? I can't find the icon anywhere from the browser

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

    I have this error that says tk.tcl error unkown option...
    So in general bootstyle is the issue but when I use button also font is unkown option. So how to solve it.

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

    After installing tkbootstrap and trying you first example i got this error: "unsupported locale setting" and it refers to line 626 in a file "locale,py" with the function "setlocale return _setlocale(category, locale)" - How can I fix this in windows?

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

    Beautiful

  • @RagingGamingBear
    @RagingGamingBear 11 หลายเดือนก่อน

    is there a way that i can use tkinter to make hotkeys, or to activate a button etc that the user can change to what they want?

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

    bootsyle does not work for me! any change of style does not work. has any one fixed this issue?

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

    This video was COOL 😎

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

    FYI.. You do not mention how to change fonts in ttkbootstrap checkboxes. For some reason it produces an error when font= is applied as you would in tkinter

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

    Hi there: I have encountered problem of "ValueError: embedded null byte" while I clicked calendar in episode: Date Entry. The error message showed that Date entry text does not match %x. Could you help me out? Thanks!!!

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

    Kivy stands out

  • @StarMovies-HD_
    @StarMovies-HD_ ปีที่แล้ว

    Please make video on Reverse engineering

  • @exploring_world4353
    @exploring_world4353 10 หลายเดือนก่อน

    How do you add a logo to the title using Tkinter? Could you please help me with this?

  • @ROKKor-hs8tg
    @ROKKor-hs8tg 10 หลายเดือนก่อน

    How can any graphical interface be used in Google colab

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

    Which ide used in this course?

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

      Just sublime text and the Git Bash Terminal

  • @saberalavy6383
    @saberalavy6383 10 หลายเดือนก่อน

    really nice 🙏

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

    Python perfeito na informação

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

    Is there a way to get live preview while coding for ttkbootstrap?

  • @c.emmanuelzuniga9435
    @c.emmanuelzuniga9435 ปีที่แล้ว +1

    Excelente tuto

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

    is it easy to convert into exe or deploy

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

      While Compiling to exe is easy in python, getting the exe signed is not (it's expensive), and because of that makes deploying not great and will trigger most anti-virus.
      Depending on what you are doing, Godot might be a good option to create a gui app!

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

    About time

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

    any chance at a FLET course? since Tkinter is kind of outdated

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

      Not outdated anymore, because of this library.

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

      Cool, but you cannot make android , iOS, desktop and web apps with just one codebase like with FLET, which is kind of new still and currently being developed

  • @ItsGoodToBeHater
    @ItsGoodToBeHater 3 หลายเดือนก่อน

    For Meters part add this at begining of code:
    from PIL import Image
    Image.CUBIC = Image.BICUBIC

  • @BrianGarside
    @BrianGarside 11 หลายเดือนก่อน

    How do you control the layout of the widgets?

  • @johncongerton7046
    @johncongerton7046 11 หลายเดือนก่อน

    it looks to me like the style configure at 34.03 changes the success.TButton from there on, so that subsequent use picks up the changed font. my_style is unreferenced

    • @kostaskiritsis6558
      @kostaskiritsis6558 6 หลายเดือนก่อน

      I 've got the same trouble to my app. Here it looks also that there are not separators between the column headers. Actually there are but are invisible!!! Please ms Elder is there any solution to that?

  • @Gameplay-st7ve
    @Gameplay-st7ve 9 หลายเดือนก่อน

    is ttkbootstrap safe ?

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

    I can't not run it on macbook M1, it gime this error: "locale.Error: unsupported locale setting"

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

      tkinter and ttkbootstrap run fine on mac, you must have done something differently from the video...

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

      @@TkinterPython I fixed it

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

    I get this error trying to declare that variable from 21:28
    "Traceback (most recent call last):
    File "C:\Users\**\ttkbootstrap\main.py", line 22, in
    var1 = IntVar()
    ^^^^^^
    NameError: name 'IntVar' is not defined"

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

      Fixed it.
      I had to change *var1 = IntVar()* to *var1 = tb.IntVar()*

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

    You should do a course on using Qt and QtCreator. Much better than Tkinter.

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

      It's paid. 300+ dollars a month, or you have to open your code.

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

      @@filipemtx Only for applications that get sold commercially.

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

      Here is a course about how to use Qt for Python using PySide6: th-cam.com/video/Z1N9JzNax2k/w-d-xo.html

  • @aloobikano794
    @aloobikano794 11 หลายเดือนก่อน

    @02:45:38 the lin for TREEVIEW not working😢

  • @iraf.official
    @iraf.official 5 หลายเดือนก่อน

    😎😎👌👌

  • @draxler.a
    @draxler.a ปีที่แล้ว

    the problem it look horrible in windows .. 7 8 and and i want my app to look awesome in all OS..

  • @mh-tr5fb
    @mh-tr5fb ปีที่แล้ว +3

    Isn't tkinter obsolete?

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

      obviously not lol that's the point of the video. TTKBootstrap makes it modern.

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

      @@TkinterPython I found that tkinter sometimes flicker when dragging it around or switching back to it. Does that also happen with ttkbootstrap?

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

      @@lmnts556 No, Tkinter doesn't do that. That was an issue with your computer and/or display settings.

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

      @@TkinterPython It does not happen when I drag it anymore but it does happen if I minimize it or maximize it over and over quickly, does not happen to other GUI. I'll try to see if the same thing happens to ttkbootstrap.

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

      @@lmnts556 why would you ever min and max it over and over quickly? Just don't do that.

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

    Using C++?

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

    thxx

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

    Sublime Test Unregistered xD

  • @tigidou3344
    @tigidou3344 10 หลายเดือนก่อน

    TKinter always missing manager for system tray. Huge lack.

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

    this is tedious, what about UI editor?

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

      Even with QTdesigner and stuff like that you'll need to know some code. Most of them usually create too much code and you have to edit it anyway. Also with QT you have to pay for it to use it, which is BS.

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

    I have one doubt anyone explain is this skill is worth ? Can i get job from this skill or its just a waste of time

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

    How exactly is this easy lol? Visual Basic had a GUI designer that was EASY. Sure wish that type of GUI builder was included in the base Python installer.

  • @TheDarkSide-s5t
    @TheDarkSide-s5t ปีที่แล้ว +2

    Python how to make Round Modern Button in less than 5 minutes 2023

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

    PONGAN TRADUCCION AL ESPAÑOL POR FAVOR.. NO SE MUCHO INGLES Y ME CUESTA MUCHO SEGUIRLOS.

    • @jorge1869
      @jorge1869 ปีที่แล้ว +5

      Aprende inglés.

  • @samuelpope7798
    @samuelpope7798 10 หลายเดือนก่อน

    Any tkinter executable I make is seen as a virus. Across multiple machines and various different antivirus software. I think a web app makes more sense . Just as slow as tkinter but way more cross platform. And you can still use not only bootstrap but bootstrap with sass. If your program really is so demanding that a modern browser truly cant handle it you really should consider something in Rust or C++. Plenty of good cross platform GUI options available for those.

  • @sbray-n1g
    @sbray-n1g 10 หลายเดือนก่อน +16

    Imagine calling tcl/tk "modern"

  • @manishsharma-ri6bf
    @manishsharma-ri6bf ปีที่แล้ว

    🎉🎉🎉🎉

  • @AwkwardTruths
    @AwkwardTruths 6 หลายเดือนก่อน

    Python Gui

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

    Furst comeentt🎉🎉🎉

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

    Hello

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

    Is it me or the guy in thumbnail looking like gigachad.

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

    If you a beginner unless you have a project in mind don’t do this course instead do front end if you already did do something more advanced have a good day

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

    🎉

  • @basicguy5785
    @basicguy5785 10 หลายเดือนก่อน +3

    Tkinter and modern do not belong in the same sentence.

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

      😂😂

  • @iraf.official
    @iraf.official 5 หลายเดือนก่อน

    2024.

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

    Cant add ttkbootstrap to anaconda?

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

    05K

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

    You take up too much real estate for viewing on a phone

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

    I stopped watching after import *. I thought this channel posts professional videos. I was wrong

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

    358

  • @bvds2007
    @bvds2007 10 หลายเดือนก่อน +1

    I miss professional GUI standards. Nowadays most GUI’s look like crap and have terrible usability. Unfortunately most book/tutorials/video on Python GUI framework usually ignore proper design principles.

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

    2:38:09 great suckess

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

    import _tkinter as tk
    m = tk.Tk()
    m.title('test')
    button= tk.Button(m, text= 'test', width = 25, command = m.destroy)
    button.pack()
    m.mainloop()
    Very basic but for some reasons says:
    Traceback (most recent call last):
    File "/Users/Leo/Library/Application Support/JetBrains/PyCharmCE2020.2/scratches/scratch_11.py", line 2, in
    m = tk.Tk()
    AttributeError: 'module' object has no attribute 'Tk'