Python Tkinter GUI Design Using ttkbootstrap - Complete Course

  Рет қаралды 356,944

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 133
@nisidabay
@nisidabay Жыл бұрын
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 Жыл бұрын
This channel is a blessing to humanity. Good work team!
@doBobro
@doBobro 11 ай бұрын
This is the best tkinter introduction. ttkbootstrap is a cherry on top.
@Ic37r011
@Ic37r011 Жыл бұрын
This is AWESOME. Wow what a professional well presented masterclass. Thanks friend.
@TkinterPython
@TkinterPython Жыл бұрын
Glad you enjoyed it!
@Allen-j8t3n
@Allen-j8t3n Жыл бұрын
@@TkinterPython Hey brother ! Does this teach tkinter and ttkbootstrap from beggining?
@FatemehDamarchilou
@FatemehDamarchilou Жыл бұрын
There's no word that can thank you enough
@TkinterPython
@TkinterPython Жыл бұрын
Welcome
@DiogoSBastos
@DiogoSBastos Жыл бұрын
Lex Luthor, I love your content. Always helpfull and understandable. Thank you so much.
@davesrambla3781
@davesrambla3781 Жыл бұрын
This is amazing! Love your TKINTER content.
@alouiyaz
@alouiyaz Жыл бұрын
great, I've just finished a program and I've struggled in the graphics section until I found this turotrial.
@flioink
@flioink 6 ай бұрын
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.
@sourabhshrivastava61
@sourabhshrivastava61 Жыл бұрын
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. 🥰
@dalefernandez19
@dalefernandez19 Жыл бұрын
Wish u were my programing lecturer.Lessons would have been so much interesting.Truly grateful for this tutorial.❤
@krishnapatil597
@krishnapatil597 Жыл бұрын
Thanks for creating complete course
@mayorc
@mayorc Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
​@@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.
@sisidaisy5256
@sisidaisy5256 5 ай бұрын
Really good tutorial, it's amazing we can watch it for free
@saberalavy6383
@saberalavy6383 Жыл бұрын
really nice 🙏
@henrikstornblom
@henrikstornblom Жыл бұрын
This video was COOL 😎
@TkinterPython
@TkinterPython Жыл бұрын
Thanks!
@petr0_775
@petr0_775 6 ай бұрын
thx, you are the best!
@cjstewart4024
@cjstewart4024 Жыл бұрын
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 Жыл бұрын
Seems like it was from a recent update of PIL. Should be fixed itself anytime soon
@jaminsurqhart8892
@jaminsurqhart8892 Жыл бұрын
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 Жыл бұрын
Today is your lucky day friend. Click on the Meters class and go to the definition, then find "CUBIC" and change it to "BICUBIC"
@SiilverEdit
@SiilverEdit 2 ай бұрын
thanks a lot mr white
@0xBerto
@0xBerto Жыл бұрын
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
@charlesspringer4709
@charlesspringer4709 Жыл бұрын
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 Жыл бұрын
You mean I should watch it 3hrs straight?
@freesoftwares6042
@freesoftwares6042 8 ай бұрын
but he does cover it in a minute
@charlesspringer4709
@charlesspringer4709 8 ай бұрын
@@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 8 ай бұрын
@@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 8 ай бұрын
@@freesoftwares6042 It is my hopeless personal crusade to save many man years and improve comprehension on KZbin. 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..."
@timthegreatone
@timthegreatone 11 ай бұрын
Beautiful
@c.emmanuelzuniga9435
@c.emmanuelzuniga9435 Жыл бұрын
Excelente tuto
@laurentLafitou
@laurentLafitou Жыл бұрын
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.
@carlosalbertodossantosrodr6416
@carlosalbertodossantosrodr6416 Жыл бұрын
Python perfeito na informação
@kameleltohamy
@kameleltohamy Жыл бұрын
Kivy stands out
@windadar211
@windadar211 3 ай бұрын
very helpfull ! but where to find all the method of each tkinter object ? can't find any tuto about this
@iraf.official
@iraf.official 8 ай бұрын
😎😎👌👌
@vladmakrov8394
@vladmakrov8394 Жыл бұрын
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.
@aloobikano794
@aloobikano794 Жыл бұрын
@02:45:38 the lin for TREEVIEW not working😢
@efraildokme
@efraildokme Жыл бұрын
why python doesn't use drag and drop tecnology on devoloping user interface.
@jcourt2006
@jcourt2006 Жыл бұрын
Hallo Good course and Notice you like the bootstyle danger. The Toast Notification section is not working in Microsof Visual Basic 2022.
@artaxerxes360
@artaxerxes360 Жыл бұрын
This looks way better than customtkinter project
@rasiyanin
@rasiyanin 11 ай бұрын
3 hours to create simple GUI form with 6 buttons? Why when exist Delphi or the same?
@mustaphaELHOURA
@mustaphaELHOURA Жыл бұрын
Hi thank you so much sir, The themes of TTKBootstrap do not apply to a second window opened from the first one.
@akhilnautiyal1544
@akhilnautiyal1544 Жыл бұрын
There is one another video on tkinter, which video should i learn from?
@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()*
@monuthakur7649
@monuthakur7649 Жыл бұрын
Which ide used in this course?
@TkinterPython
@TkinterPython Жыл бұрын
Just sublime text and the Git Bash Terminal
@StarMovies-HD_
@StarMovies-HD_ Жыл бұрын
Please make video on Reverse engineering
@Ravi-pe9oi
@Ravi-pe9oi Жыл бұрын
Sir please teach you how to make an responsive navbar with right corner hamburger and icon using ttkboostrap
@PANDURANG99
@PANDURANG99 Жыл бұрын
is it easy to convert into exe or deploy
@harminoffendl
@harminoffendl Жыл бұрын
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!
@philippfarag
@philippfarag 10 ай бұрын
the bootstyle doesn't work on the labels of the other extra window i open, for example about window :(
@opemipodurodola
@opemipodurodola Жыл бұрын
About time
@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
@RagingGamingBear
@RagingGamingBear Жыл бұрын
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?
@mofear4874
@mofear4874 Жыл бұрын
is the "watch later" feature gone? I can't find the icon anywhere from the browser
@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!!!
@BrianGarside
@BrianGarside Жыл бұрын
How do you control the layout of the widgets?
@Lunolux
@Lunolux Жыл бұрын
thxx
@willychrosnik1925
@willychrosnik1925 Жыл бұрын
Is there a way to get live preview while coding for ttkbootstrap?
@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?
@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
@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?
@_Sparrowsky
@_Sparrowsky 9 ай бұрын
Nice but you don't have to run project in cmd. Ctrl+B in SublimeText works ;)
@PACHIPULUSUSAIPRADEEP
@PACHIPULUSUSAIPRADEEP Ай бұрын
Cab u share the python files used in the video?
@Gameplay-st7ve
@Gameplay-st7ve Жыл бұрын
is ttkbootstrap safe ?
@mh-tr5fb
@mh-tr5fb Жыл бұрын
Isn't tkinter obsolete?
@TkinterPython
@TkinterPython Жыл бұрын
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.
@MohammedAbdulsayed
@MohammedAbdulsayed Жыл бұрын
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.
@mechmat8552
@mechmat8552 6 ай бұрын
bootsyle does not work for me! any change of style does not work. has any one fixed this issue?
@exploring_world4353
@exploring_world4353 Жыл бұрын
How do you add a logo to the title using Tkinter? Could you please help me with this?
@ЮсефМехда
@ЮсефМехда Жыл бұрын
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!
@johncongerton7046
@johncongerton7046 Жыл бұрын
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 9 ай бұрын
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?
@ROKKor-hs8tg
@ROKKor-hs8tg Жыл бұрын
How can any graphical interface be used in Google colab
@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
@manishsharma-ri6bf
@manishsharma-ri6bf Жыл бұрын
🎉🎉🎉🎉
@jkotsche7035
@jkotsche7035 Ай бұрын
I had to import as follows to get the meter to work from PIL import Image Image.CUBIC = Image.BICUBIC import tkinter as tk import ttkbootstrap as ttkb
@Mhmhind
@Mhmhind Жыл бұрын
Using C++?
@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 Жыл бұрын
@@filipemtx Only for applications that get sold commercially.
@freecodecamp
@freecodecamp Жыл бұрын
Here is a course about how to use Qt for Python using PySide6: kzbin.info/www/bejne/kGKxan2wg8araM0
@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..
@zoenagy9458
@zoenagy9458 Жыл бұрын
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.
@spanishflare
@spanishflare Жыл бұрын
Furst comeentt🎉🎉🎉
@tigidou3344
@tigidou3344 Жыл бұрын
TKinter always missing manager for system tray. Huge lack.
@tea_otomo
@tea_otomo Жыл бұрын
Sublime Test Unregistered xD
@TheDarkSide-s5t
@TheDarkSide-s5t Жыл бұрын
Python how to make Round Modern Button in less than 5 minutes 2023
@iraf.official
@iraf.official 8 ай бұрын
2024.
@arturosaavedra7198
@arturosaavedra7198 Жыл бұрын
PONGAN TRADUCCION AL ESPAÑOL POR FAVOR.. NO SE MUCHO INGLES Y ME CUESTA MUCHO SEGUIRLOS.
@jorge1869
@jorge1869 Жыл бұрын
Aprende inglés.
@justheretocomment6410
@justheretocomment6410 Жыл бұрын
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.
@samuelpope7798
@samuelpope7798 Жыл бұрын
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.
@WarriorRev11
@WarriorRev11 Жыл бұрын
Is it me or the guy in thumbnail looking like gigachad.
@fomofilter
@fomofilter Жыл бұрын
Cant add ttkbootstrap to anaconda?
@savilathsamounty5186
@savilathsamounty5186 Жыл бұрын
🎉
@AwkwardTruths
@AwkwardTruths 9 ай бұрын
Python Gui
@sbray-n1g
@sbray-n1g Жыл бұрын
Imagine calling tcl/tk "modern"
@spanishflare
@spanishflare Жыл бұрын
Hello
@karashevf
@karashevf 5 ай бұрын
05K
@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
@karashevf
@karashevf 5 ай бұрын
358
@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
@basicguy5785
@basicguy5785 Жыл бұрын
Tkinter and modern do not belong in the same sentence.
@lumos758
@lumos758 Жыл бұрын
😂😂
@andylem
@andylem Жыл бұрын
I stopped watching after import *. I thought this channel posts professional videos. I was wrong
@bvds2007
@bvds2007 Жыл бұрын
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.
@MarcusHCrawford
@MarcusHCrawford 4 ай бұрын
Then do a better one.
@ItsGoodToBeliveInJesusChrist
@ItsGoodToBeliveInJesusChrist 6 ай бұрын
For Meters part add this at begining of code: from PIL import Image Image.CUBIC = Image.BICUBIC
@v2ike6udik
@v2ike6udik Жыл бұрын
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'
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,5 МЛН
Data Engineering Course for Beginners
3:03:43
freeCodeCamp.org
Рет қаралды 722 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How I Would Learn Python FAST (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 706 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
7.2 - Learn Access VBA Coding Tutorial (Part 1) - Microsoft Access VBA Tutorial)
29:51
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 562 М.
Best of CES 2025
14:50
The Verge
Рет қаралды 622 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 126 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
I made maps that show time instead of space
10:44
Václav Volhejn
Рет қаралды 1,1 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН