Depending on the python version, you would have to put "font=("Roboto", 24)" in place of "text-font"
@themastersoul3138 Жыл бұрын
Thanks bro it helps me!
@kaiden_aka_forevrr Жыл бұрын
YOU ARE A LIFESAVER!!!! thanks so much!!! :)
@stephencombes1979 Жыл бұрын
Thank you very much!!!! I was struggling to figure out why it wasn't showing the GUI upon execution, I'm using Python 3. I hoped to see something in the comments, and wasn't disappointed 🙂
@septic2986 Жыл бұрын
Thank You Sir
@lunowpt Жыл бұрын
Thank u bro u saved me
@DaeViZ0n32 жыл бұрын
When will someone make a drag-and-drop editor for this and help everyone save time on manually coding such stuff. Even VBA had this built in, why is everyone so proud of all the characters it took to build a UI..
@robertfox4992 жыл бұрын
I was thinking the exact same thing myself. Even VBA in Excel has a click and drag UI builder so why are people getting so excited about this? And then it dawned on me that one could pretty easily build a Tkinter Drag and Drop GUI builder in... wait for it... wait for it...: Visual Basic Dot Net or Visual Basic C#. It would be a supreme irony, no?
@juanandresmolina97042 жыл бұрын
It's a project (i don't remember the name) that does something like this, it's very basic and does not work really well. It uses Figma and Tkinter.
@MichaelVash78862 жыл бұрын
There is a program like that for qt. But I don't know of any popular ones for GTK
@TaoqeerNezam2 жыл бұрын
PyQT "Designer"
@MichaelVash78862 жыл бұрын
@@TaoqeerNezam that's the one I know of.
@afiffarakhan4992 Жыл бұрын
Man, what I've been looking for years. You're killing it bro
@MZak-js7oy2 жыл бұрын
can you make a comparison between "PysimpleGUI, Tk, CustomTK, streamlit and Flet" ? the complexity of the code, the number of code lines, load time, speed, event handling, web usage etc ?
@UncleDavid2 жыл бұрын
flet is just flutter bindings, pysimpleGUI looks like windows 95, tk looks like windows 98, customtk looks like windows xp, streamlet is basically react components so html and css, pyqt has .ui files which are basically xml files, xml can be edited to your hearts content with css, or you can use their ui python syntax to make modern apps
@cheaterman492 жыл бұрын
Kivy too :-)
@Mahanmarwat2 жыл бұрын
@@cheaterman49 PyGi too.
@duftcola2 жыл бұрын
Pysimplegui only lets you create a single window so if your ui is a bit more complex than that then it is quite limited
@cheaterman492 жыл бұрын
@@UncleDavid How is Kivy "pretty limited"? It gives you access to the whole power of OpenGL/GLES, so you have literally as much control as you want :-)
@versystudio822 Жыл бұрын
Since customtkinter update, if you have an error "ValueError: ['text_font'] are not supported arguments", change argument 'text_font' to 'font', like this: label = customtkinter.CTkLabel(master=frame1, text="Trade Control", font=("Roboto", 24))
@raindrop2124 Жыл бұрын
Thank you, I was wondering why it wasn't working
@HomelessOnline10 ай бұрын
I'm a beginner to Python. This is a fantastic presentation, I feel like I could build a nice UI tonight.
@abhijitdutta14612 жыл бұрын
Man you're soo underrated.. you deserve more subscribers 💯
@indorexian2 жыл бұрын
Ikr!!
@roeiroimi89702 жыл бұрын
Frfr
@MrBiggles53 Жыл бұрын
LOT of improvements since 2.12 & wxPython! I hope to get back into Python in a year or so. Had to switch to Java then C+ or Sharp for projects before switching to web front ends then Linux Admin. The programming approach still comes in handy, but I’ve strayed from being pure pythonic.
@Oliver1269ii2 жыл бұрын
This was such a fast, yet very informative video. Well done, thats a hard balance to make in a 10 minute video. Keep up the good work!
@sinkingboat101 Жыл бұрын
Could not agree more. As he pointed out himself, it is just sort of a wrapper around tkinter, with nicer names etc. and much more comfort. This can be all done in the original, but it would take a lot of time. A really nice 10 minute dive to get familiar with a new library
@TipsJazzInferno4 ай бұрын
really bro :(
@Iconicwedgeshape2 ай бұрын
I would strongly recomend to any linux users just looking to make GUI for yourself or other linux user. The Gnome and KDE python gui kits are really nice and handle all of the themeing etc for you since they make use of whatever your DE settings are
@uplink-on-yt2 жыл бұрын
I'll forever be amazed at how we make visual interfaces without visual editors...
@NeonGreenT10 ай бұрын
Yeah, or how we have to read through some thrown together error output instead of the editor just straight up jumping and highlighting the line where the exception happend. I mean it can output the error, why can't it process it then ? I think all of this is even more ridiculous if you compare it to games like AgeOfEmpires or something, like even the games almost thirty years ago had visual designers for their ingame levels, yet when programming anything it feels like I have to deal with 40yr old technology for some religious reason. IMO programming should be the most advanced user experience a computer can give you and not the worst one lol.
@DankMemes-xq2xm8 ай бұрын
@@NeonGreenT True. Honestly feels like game engines handle this stuff better. It takes literally seconds to throw together a UI and a bunch of working buttons in something like Unity or Godot. It actually makes me wonder if making an application 100% in Godot is feasible (not a video game, but a mobile app like IG or something)
@AndrasBuzas190829 күн бұрын
@@DankMemes-xq2xm potentially in Godot it's quite easy, but why would you?
@DankMemes-xq2xm29 күн бұрын
@@AndrasBuzas1908 I posted that comment before I knew of the existence of android studio, lmao
@robinpipslayertekprofitsfa2644 Жыл бұрын
Definitely love the speed of delivery you bring!! Fast, sharp....to the point!! CTK added to the list of tools now, thinking I’ll be using that a LOT more than TK 😵🤭 cheers!!
@imclowdy2 жыл бұрын
You are so consistent with amazing content; Hands down the best KZbin channel on python development.
@Hephasto2 жыл бұрын
You sure the best?😊
@rivalyrs8579 Жыл бұрын
@@Hephasto yea. with tim yea.
@AAVvabbalubbadubdub5 ай бұрын
very useful and practical now it's more simple to build projects with modern GUI
@BlackCat-vu1dc Жыл бұрын
I love how all video of many KZbinrs saying you don’t need to know the module yet you are using it and if you are you need to understand it
@thefamousdjx2 жыл бұрын
For the easiest, intuitive and very modern ui just make your python code to an api and use Flutter for front end. If you just need a quick ui where the user isnt worried about the look then pyqt is the best through the designer and you can easily implement progress bars, drag and drop of files etc
@BurakSaruhan2 жыл бұрын
Is there any examples to this? Like a boilerplate git repo?
@ccl4872 Жыл бұрын
How would I go about doing that? I'm new to this so what would I have to learn make my python code an api and use flutter for front end? Thanks!
@shawnington Жыл бұрын
QT and intuitive don't belong in the same sentence. Its a C++ library with Python bindings, but still mostly still C++ syntax, for anyone not semi competent in c++ its the most confusing non-pythonic thing they will ever interact with in python.
@JRis442 жыл бұрын
Finally some more videos on this repository. I'm looking forward to the innovations coming out of this customTkinter! I need to get back to working on all the basic programs I made without a GUI back when I started learning python in February. Goodness this is exciting!
@sebastianjost2 жыл бұрын
Amazing. I could never figure out a reasonably easy way to do rounded corners in tkinter. Here that seems to be the default setting.
@jordanhenshaw4 ай бұрын
Progress bar connected to a slider sounds pretty dope.
@ivangranzotto48107 ай бұрын
I never thought I'd learn python from Nacho Varga
@OnlyUseMeEquip2 жыл бұрын
this is where C# makes GUI building so much easier
@frederikmrozek4564 Жыл бұрын
The developer Tom is a cool guy. Really nice project!!!
@rawgosh2 жыл бұрын
I am currently learning tkinter and I am super amazed by the fact that what a coding skill can do. Loved the video🙌🙌
@sebastianjost2 жыл бұрын
Looks like you can just use this instead. From what's seen in the video, everything you learn about tkinter can instantly be used for Ctk too. Syntax and variable names are almost identical and all major objects seem to exist in Ctk
@MrRussian165 ай бұрын
For anyone wondering why its not working label = customtkinter.CTkLabel(master=frame, text="Login System", text_font=("Roboto"), 24)) Replace text_font= with font=("Roboto"), 24)) and it should work.
@pandipatipavan38042 жыл бұрын
Please try to update the code files and the links in the description as soon as possible.
@aaroncatolico75502 жыл бұрын
I'm currently working on a project that I'm customizing manually. I've yet to try it cross platform as I've only tried it on Windows 10 & 11, but assuming that it looks good the across all OS's, I'll finish the whole project fully customizing it with my own graphics.
@chrismiller96114 ай бұрын
Help, please! I am new to Python. When running the program, I get the error that module customtkinter is not found yet the install shows that it is there and is satisfied. Running Python 3.12 in Visual Studio Code. ModuleNotFoundError: No module named 'customtkinter' This occurs at the import line.
@Neo_lol Жыл бұрын
Quick side note for complete beginners you also have to "pip install packaging" i almost started crying because it didnt work but i was just missing packaging as im new to python
@modak3458 Жыл бұрын
it still does not work for me it gives me this error, how did you solve this? Traceback (most recent call last): File "C:\Users\Gebruiker\PycharmProjects\pythonProject\pythonProject\main.py", line 1, in import customtkinter File "C:\Users\Gebruiker\PycharmProjects\pythonProject\pythonProject\venv\Lib\site-packages\customtkinter\__init__.py", line 10, in from .windows.widgets.appearance_mode import AppearanceModeTracker File "C:\Users\Gebruiker\PycharmProjects\pythonProject\pythonProject\venv\Lib\site-packages\customtkinter\windows\__init__.py", line 1, in from .ctk_tk import CTk File "C:\Users\Gebruiker\PycharmProjects\pythonProject\pythonProject\venv\Lib\site-packages\customtkinter\windows\ctk_tk.py", line 7, in from packaging import version ModuleNotFoundError: No module named 'packaging'
@who_asked237411 ай бұрын
thanks boss
@EDDmanoo Жыл бұрын
Merci, it is a great example (On line 17 text_font=, it gave me an error, so I only used font=)
@parenthecoltsenr Жыл бұрын
same, im glad i found your comment :D
@whobetterthankyle8 ай бұрын
Accidental tutorial: I think I saw him using the insert key so he could drop the cursor to the next line without inserting a line break? Genius
@bloodyyjohnson7004 Жыл бұрын
thank you, I've been looking for a long time for a simple way to create beautiful interfaces, not so different from tkinter, I'm glade
@RobMapes2 жыл бұрын
Just discovered this video and immediately subscribed to your YT channel. Great resource for a long-time developer who is just starting to learn Python and who doesn't need an "entry to programming" channel.
@sebastiangudino9377 Жыл бұрын
You might also like mcoding then
@pipedreamsnetwerk51102 жыл бұрын
Every video you put out, I learn something new about Python. You and Socratica are the best channels on YT for this kind of content. AAA.
@shivrajanand2002 Жыл бұрын
I am regretting for not finding this channel earlier. Bro you are amazing.
@LexkozdTTV Жыл бұрын
For some reason my custom tkinter doesnt want to work it just always says "'customtkinter' has no attribute 'set_appearance_mode'" what ever i do to get rid of it it just doesnt work. Im also using vs code maybe that might be the problem.
@ladyjuliet96149 ай бұрын
That's because your file has the same name as the library called. try calling it different than any library :D
@ChineseBuddy Жыл бұрын
Wow, exceptional channel. This rocked!
@jmathtech Жыл бұрын
Awesome tutorial! However, on my machine, I had to use font=("Roboto", 24). Customtkinter would throw an exception error whenever I tried to use text_font since its updated to 5.0.3.
@dgh25 Жыл бұрын
thx!
@nathaniel-.- Жыл бұрын
Got to love quickly finding a comment that solves an issue I ran into!
@songyoungwhan Жыл бұрын
Can you tell us a link to the code in the video on GitHub? I couldn't find it on your GitHub.
@mainsequence1055 Жыл бұрын
I'm using Python 3.9 and using the latest version of customtkinter and I had to make some slight changes to get this script to run without any kwargs errors: The CTkEntry class does not support the placeholder argument. This may be due to a version mismatch between the customtkinter module and the version of the code that you are using. To fix the issue, you can remove the placeholder argument and instead use the insert method to add a placeholder text to the entry widget. Here's an example: entry1 = customtkinter.CTkEntry(master=frame) entry1.insert(0, "Username") This creates an entry widget and adds the placeholder text "Username" to it using the insert method. You can do the same for the password entry widget: entry2 = customtkinter.CTkEntry(master=frame, show="*") entry2.insert(0, "Password") Hope this helps.
@CivicSploits Жыл бұрын
kinda got bored and stumbled upon this very nice video i love python
@training75749 ай бұрын
Very clear and to the point, thanks!
@minkulai Жыл бұрын
Thanks to you I've created my first GUI "app" :D
@SaintNath Жыл бұрын
Thanks that is such a boost to my tkinter app I am building. Now it doesn't look like Windows 2000 anymore ❤
@DariodeJudicibus Жыл бұрын
Well, I prefer a platform that allows to design GUI by providing a descriprion of the panels and controls rather than creating it by code. To separate code from GUI descriprion. Like in React.
@CaffeinatedTech2 жыл бұрын
That's a much more modern interface. Cheers for showing it off.
@martinyates353 Жыл бұрын
My first GUI! great video thanks.
@Cool-Linux-Penguin9 ай бұрын
Use grid instead of pack. Its a bit easier to manage and easier to reposition the objects.
@nolanstrife73502 жыл бұрын
Hi there A quick question... Is there any good Python GUI designers akin to VS2022's Windows Forms or IntelliJ's Swing? And on that topic, is it so bad to rely on those? Because to me just coding UIs without seeing them is not very obvious, while using designers not only makes it easier to see what are you doing, but also doubles as a "sketching phase" of developing a program
@Quill-gs1kl9 ай бұрын
pyqt5
@VanceProduces Жыл бұрын
Love your pace but would appreciate a little time taken to explain "why" you're leading into the next line. ie.) you say, "here, i'm going to add frame" and then proceed to add it but I want to know WHY you're going to frame next, etc.
@damanamathos Жыл бұрын
Great video, didn't realise it was so easy to make a great-looking GUI until I watched this video. Thanks!
@marksmith27388 ай бұрын
This is the Stone Age of GUI's. You should be able to draw your interface with simple drawing tools. No code required.
@DocHudson4207 ай бұрын
@@marksmith2738the code those create is garbage.
@KellsCode Жыл бұрын
I built a nice little project with Custom Tkinter over the past 6 months! It's pretty good. It's great if your project needs to get up and running quickly and you want it to look decent. I have some videos on my channel about it.
@muslimgamerrr94795 ай бұрын
YES its so simple thanks so much. now i can make a gui for my wallpaper setter
@BANIAAAAK Жыл бұрын
How do you know all that? You understand the concept? or you have a pre ready sheet?
@ahmed89channel Жыл бұрын
i was have an error not working and solved by google it Instead of using text_font=("Roboto"), 24)). Use (master=frame, text="Login" font=("Roboto"), 24)). The current version library to 'customtkinter' update may have caused the change.
@ukaszbetlinski1957 Жыл бұрын
Thank you!!!
@amolmanorkar28413 ай бұрын
This is really helpful!. Thanks a lot for all explanation:)
@PANDURANG99 Жыл бұрын
I have made a application with custumtkinter python , when it changes a screen we can see how it is changes , like each frame comes and changes its position until final position takes, within 1 sec
@The-Martian73 Жыл бұрын
I literally can't imagine my code journey without NeuralNine LDB Let's Develop Brains
@TilDrill Жыл бұрын
I would have liked if you showed the visual progress of the frame somewhere while writing code since that makes if way easier to understand what does what
@herbst2941 Жыл бұрын
Wow, that’s an amazing content! Started to work with tkintier few days ago, and got this video recommended, totally satisfied 😀
@SiddhantDeosthale8 ай бұрын
Menu bars do not exist in this module....tkinter integration with code works but menu is not affected by the theme...hence it remains white in a dark themed window. Other than making menu by yourself using buttons, do you have any suggestions?
@tayyab8215 Жыл бұрын
amazing! we need more videos on python GUI
@arthurhall88922 жыл бұрын
John Elder's Tkinter tutorial: Walter White teaches Tkinter. NeuralNine's Tkinter tutorial: Nacho Varga teaches Tkinter.
@bahaajobs Жыл бұрын
More than 20 years ago we had visual basic, and we were able to build a user interface by drag&drop elements into a form then just double click it to add the code. What's happened to that technology? Do we move backward or something?
@phyoewaipaing6670 Жыл бұрын
With pyqt or pyside, there is an IDE for the same purpose.
@bahaajobs Жыл бұрын
@@phyoewaipaing6670 With both we still stuck with some C++ codes
@vaibhavsrivastva12532 ай бұрын
May god bless your family. Very useful video. 🙏
@pmccarthy0012 жыл бұрын
Isn't there a graphical interface for creating the GUI objects like say, with C#, in Visual Studio?
@benmorrison85332 жыл бұрын
Yeah, or at least some declarative way to describe the UI? This reminds me of writing ActionScript in 2003.
@filiplaszczak78442 жыл бұрын
QT Designer can do this.
@emmanueljrmillana1932 Жыл бұрын
I bought your book in amazon, grrrr! Unfortunately the package was damage and they cancelled it. I’ve been waiting for it.
@BoyMusics Жыл бұрын
Its incredible something that we can do in html we can also do it in python. Pyhton is something else !!
@deblobvis264 Жыл бұрын
This will help me making my graphic calculator
@C4nadianB4con4 ай бұрын
i have an issue with root.geometry(). i get an error that says "attribute error: 'str' object has no attribute '_reverse_geometry_scaling'
@filecat9501 Жыл бұрын
honestly , pyside/qt should def be looked into.
@ghost99slay2 жыл бұрын
This is GOATED! Thank you sm. Never stop making videos!
@afshin3k3 Жыл бұрын
Thanks for the video. It would have been better, if you had shown the results of each addition instead of showing it when you are done writing all the codes
@stilllearning3000 Жыл бұрын
That was amazing. Saving for later.
@ignaciotorocoronado9855 ай бұрын
Thank you so much for this. I just suscribed, your channel looks very good
@curtislevey76394 ай бұрын
I'm trying to implement this GUI into the secure login from the other video as suggested. Having trouble getting the gui to link up with the back end - server communication
@MidnightMarrow Жыл бұрын
Man I'm glad I found this, out of everything I've looked at nothing has mentioned customtkinter lol. Starting with Python trying to make a server manager which is probably a stupid start but I also wanted something useful that will help push me through it instead of giving up sooner than later. Looked at the WYSYWYG GUI implements etc but everything kind of looked ugly. Part of me wants to just code it out in Sublime and the other part of me wants to save time on the GUI via drag and drop concept which of course creates massive endless blocks of code which is annoying to sift through should I have the desire or need to. As much as I don't want to waste time on it I want it to look nice and be user friendly and I'm kind of just stuck at what I want to do now. -_-'
@maxiaguerre83945 ай бұрын
Could you please upload your code to the repository ? I couldn't find it. Nice guide as usual !
@ElHeyne Жыл бұрын
This was so helpful. Thank you very much 😯
@FDozza Жыл бұрын
This really helped me out, thank you
@Acanis874 ай бұрын
Iam new to Python and not so experienced as developer. Should I learn to create UIs like that or better use a UI Designer? Always used UI Designer before, seems to be hard to it without seeing anything while creating a UI?!
@houbenovepierre-louis465410 ай бұрын
This is beautiful, I just started with tkinter a few days back how would I implement something like after the user signs in it goes to a new page ?
@Xayles_6 ай бұрын
this is how i made my first Minecraft "client". it basically launches 1.8 optifine and forge in which i added my own mods, by default u cant access as i have hidden it deep into ur computer
@sudarshankshirsagar45682 жыл бұрын
Brother can you make a detailed/brief video on MatplotLib in Pyqt5 in OOP way ?
@Yupppi Жыл бұрын
I don't understand why the button argument for command=function() doesn't accept arguments like entry1 which to me seems like rather obvious use of it. Or getting a valid text from the entry1.
@mher_22Ай бұрын
You can just use lambdas
@sefisyara59612 жыл бұрын
It is cool, but it seems like you can't have as custom programms as with Tkinter; you can create a window like this with Tkinter, but it will be much harder, but on the other hand, you can get much more creative. Really depends on your needs.
@rudigerheissich9800 Жыл бұрын
"You import this library and you know, type in some stuff, so it got colour. Then you write some other stuff here and there. This code is... ye, you know, does stuff and so on... then we change colour again, because dark mode is important...... and here we go, we created minecraft!"
@TheJoker-te7te Жыл бұрын
This is awesome, thanks for sharing! I remember the days I would use Python and wxWidgets and smash my head against the wall, like 10 years ago. This is much prettier.
@oldgoatroper7030 Жыл бұрын
Line 17 in the label defn. - text_font=("Roboto", 24) is incorrect ---- it should be: font=("Roboto", 24)
@BRICKSINSILK8 ай бұрын
can i get this guy a gold star
@pardener Жыл бұрын
this interface is astonishing
@samrijijkot2 жыл бұрын
Thanks for demonstrating all these libraries!
@coding_with_ash Жыл бұрын
kzbin.info/www/bejne/d3SolGmtlt92h8U Plz check this awesome video also on the same topic.. .🙏
@minhazrahman4828 Жыл бұрын
When will release you your own Python premium course with all of advance things and some coool projects?? We are all waiting for this
@Gilberto-Guzman Жыл бұрын
Very good video, I just change the font_Text parameter to font to make it work in python 3.11.2, your explanation is clear. Like and Sub
@arthurgegelmann609 Жыл бұрын
thank you so much!! im new to coding so it helped me a lot. im 100% sure that i wouldnt have got it without your help.
@brunouli1943 Жыл бұрын
thanks man
@ozmosyd Жыл бұрын
Nice. Thanks for shraring chap!
@samarthvyas8234 Жыл бұрын
how can we change icon in customtkinter??
@balcopc9 ай бұрын
nice video, works just like the original and looks great!
@BCTAHbKA2 жыл бұрын
Bu şimdiye kadarki en iyi video
@deemon7102 жыл бұрын
That's kick-ass! Up to this point anything I made in python was restricted to cmdline stuff. Now I can make stuff with a UI! Thanks!
@2GoodMath2 жыл бұрын
Try pygame, its pretty good. It makes a custom window that you can draw shapes and images at any coordinate. Also, you can use math and lists to create complex games with physics or environments to explore.
@Vivek_xkt2 жыл бұрын
This is what i was waiting for.
@lemartien250009 ай бұрын
Can you give us an exemple of code using treeview and sqlite3. A simple window showing how to use treeview. Headings, columns. Thanks
@arbataxiansoul2 жыл бұрын
Illuminating and very well explained, I can´t wait to try it myself! Thanx
@coding_with_ash Жыл бұрын
kzbin.info/www/bejne/d3SolGmtlt92h8U Plz check this awesome video also on the same topic.. .🙏