How to Program a GUI Application (with Python Tkinter)!

  Рет қаралды 945,816

Keith Galli

Keith Galli

Күн бұрын

Пікірлер: 874
@KeithGalli
@KeithGalli 5 жыл бұрын
Video Outline! 0:17 - What we’re ultimately building 2:05 - Getting started 3:16 - The basics of every Tkinter App (Root) 4:44 - Add a button to the screen 6:20 - Passing in keyword arguments 10:07 - Using frames to organize widgets 11:53 - Setting custom colors 14:00 - pack() to place widgets 17:39 - grid() to place widgets 19:53 - place() to place widgets 25:49 - Setting the appearance of our final application 33:45 - Adding background image 36:00 - Implementing button/entry functionality 39:49 - Connecting to the Weather API 43:29 - Making a GET request 51:36 - Formatting our response 56:24 - Changing Font and Font Size 59:58 - How to add weather icons to the app 1:01:36 - Making our App an executable using PyInstaller Hope you guys enjoyed! Make sure to subscribe if you haven’t already :)
@klausbauer2435
@klausbauer2435 5 жыл бұрын
Could you do a video about web development with python or at least recommend something?
@texanniner
@texanniner 5 жыл бұрын
@@klausbauer2435 I've used Flask with success.
@subhammitra1218
@subhammitra1218 5 жыл бұрын
How to show all the things like pressure, humidity etc in the final output display??
@imcoder6969
@imcoder6969 5 жыл бұрын
great job dude keep it up man!! keep it up!!
@mashraful5065
@mashraful5065 5 жыл бұрын
Will I need Python Tkinker to build the application???
@kckph4264
@kckph4264 5 жыл бұрын
Finally, i programming tutuorial from someone with a sense of humor and a voice thats louder than 2db, and the tutorial is really understandable
@matheusjanczkowski9107
@matheusjanczkowski9107 3 жыл бұрын
And is not speaking fucking broken English with Indian accent...
@nikothenoob
@nikothenoob Жыл бұрын
first reply?
@charlietame1892
@charlietame1892 5 жыл бұрын
Definitely the best tutorial yet. I'm not exactly a novice but the fact that you took your time explaining "Why" you chose to do things a certain way was for sure something missing from other tutorials and will help a lot of people.
@jdsguam
@jdsguam 3 жыл бұрын
I'm a 66 yr old and was not going to try learning python; but this video got me interested and running down the rabbit hole. Nicely Done!
@truepenny2514
@truepenny2514 2 жыл бұрын
This was the second video of yours I’ve watched and I’ll be watching more. You speak *naturally* - you’re not reading from a script or mumbling; it’s like I’ve just sat down with you and you’re showing me something. Also, when stuff doesn’t happen just right the first time - that’s VERY real life - you’re modeling what to do - don’t panic just go back over stuff and figure out what you did wrong. Easy-peasy! I love this style of teaching, thanks.
@ivanllopis5882
@ivanllopis5882 5 жыл бұрын
This is the best video on Tkinter I've ever seen. Thank you so much, I'm definitely sharing this one with whomever may find this useful. Good work!
@KeithGalli
@KeithGalli 5 жыл бұрын
Glad you enjoyed, and thanks :)
@moletsanephillipmakhate5305
@moletsanephillipmakhate5305 5 жыл бұрын
I also agree with this sentiment
@ArtuursPaulausks
@ArtuursPaulausks 5 жыл бұрын
It is much easier to understand when a person explains syntax in his own words. Awesome video, thanks !
@ActuallyAudacity
@ActuallyAudacity 5 жыл бұрын
For people trying to this program while following him along, if you're not using sublime text you may have problems with the request function. In order for it to work go on command prompt and type "pip install requests" and then go to your code and "import requests". Hope this helped if you were stuck on this!
@Redagrandrei
@Redagrandrei 5 жыл бұрын
Thanks man
@Stellarspace95
@Stellarspace95 5 жыл бұрын
dang, I read your comment and when I ran into the issue I remembered you posted this so thanks lol
@ActuallyAudacity
@ActuallyAudacity 5 жыл бұрын
@@Stellarspace95 No problem :D Glad it helped some people out because I had this problem as well and was very confused
@lokeshkumarw9045
@lokeshkumarw9045 5 жыл бұрын
why did people have this problem? He mentions in the video about installing "requests" and then imports it as well!! :/ Edit: installs at 2:30 imports at 44:00
@ActuallyAudacity
@ActuallyAudacity 5 жыл бұрын
@@lokeshkumarw9045 Could you put the time please? I may have missed it.
@AspartameBoy
@AspartameBoy 5 жыл бұрын
The documentation "out there" is not very effective. Your video is super.
@maniac1814
@maniac1814 4 жыл бұрын
What makes this tutorial better than any other tutorials on tkinter I have seen is, that you import the module as tk and not as * so that one can distinguish the tk calls from all the other stuff at first sight. You also don´t put everything in a class like many tutorials out there which only complicates things. I haven´t seen anyone else describe the place-function - which is a great tool to make the gui look professional.
@direndeniz8817
@direndeniz8817 Жыл бұрын
He is teaching us by learning simultaneously which makes the video more natural. That's why I subscribed to him... Great job Keith. Keep going. Greetings from Turkey...
@maximilianschmid2644
@maximilianschmid2644 4 жыл бұрын
If you have problems loading the pic on a mac, try importing: from pathlib import Path then define the image path: image = Path('*your folder1*/*your folder2*/*your folder3*/*your_pic.png*') After that just add file=image: background_image = tk.PhotoImage(file=image) Thanks for the vid, Keith!
@TheKhashix
@TheKhashix 5 жыл бұрын
You're a wonderful teacher. Only just getting started in Python and you manage to make all the concepts incredibly easy to understand. Not only that, you're always going in and explaining why you're doing something, providing a real kick-start to the learning process. Thank you for uploading this!
@justinmcdonald1930
@justinmcdonald1930 4 жыл бұрын
If you'll getting a syntax error with the "Lambda:" code, try using lowercase L in "lambda:"
@LittleRapGuy
@LittleRapGuy 4 жыл бұрын
It was a good idea to make the breakfast sandwhiches available at all hours. :0
@joshcarz
@joshcarz 4 жыл бұрын
omg thanks
@msctube45
@msctube45 4 жыл бұрын
Thank you for the hint!
@gobstopr1
@gobstopr1 4 жыл бұрын
Thank you!
@ericmikolajski1082
@ericmikolajski1082 4 жыл бұрын
oh my lord, you dont know how much that frustrated me, thaaank you
@patrickmbarker
@patrickmbarker 5 жыл бұрын
Thanks Keith, I learned a lot in this one. I started learning programming with Java in college, but I am finding Python much more fun to work with. I've finally got that motivation back for programming.
@adlerdoesstuff1872
@adlerdoesstuff1872 3 жыл бұрын
Hands down best coding tutorial I have ever seen
@VarunSridharan91
@VarunSridharan91 4 жыл бұрын
This i can guarantee is the fastest and clearest way to learn the basics of interactive GUI python programming and API calls. Beautifully done tutorial! Many thanks , God Bless.
@Phoenix-to2no
@Phoenix-to2no 4 жыл бұрын
I realise this is literally a year after you posted it but it is still the best source I've found for learning how to use Tkinter. Thanks :)
@KeithGalli
@KeithGalli 4 жыл бұрын
Well I still usually see the comments :). Glad you enjoyed!!
@AlbertLeng
@AlbertLeng 4 жыл бұрын
I had a hard time reading the "official" documentation as I guess it's not really well-maintained and updated. Following your video is such an efficient and effective way to kick start my Tkinter learning. Good job brother!
@Nunya58294
@Nunya58294 2 жыл бұрын
One of the best tutorials I've seen for this.This also helped me understand frames a lot more with a visual rather than just explaining
@joeythompson2375
@joeythompson2375 4 жыл бұрын
Thank you, Very thoughtful of the viewer. Hat tip to you sir on tutorials point. wow a goldmine. I appreciate the honesty in showing that a huge part of this is looking up things. When I started watching coding videos , I was scared I would need to memorize an encyclopedia. Big confidence boost here.
@owensweitzer8270
@owensweitzer8270 4 жыл бұрын
Hey y'all, heads up as you're going through: The background pic can't be jpg
@hippolytelapierre3475
@hippolytelapierre3475 4 жыл бұрын
ze ddz why you so agressive 😂
@enzoqueijao
@enzoqueijao 4 жыл бұрын
@@opus_X I'm curious too! If people don't answer, I'm gonna get mad as well!
@Jam-iv6xz
@Jam-iv6xz 4 жыл бұрын
Thank you friend
@niyousha6868
@niyousha6868 4 жыл бұрын
thank you
@maheshpishe6116
@maheshpishe6116 4 жыл бұрын
you need to install pillow library for adding .jpg images
@thebeston6710
@thebeston6710 4 жыл бұрын
You are one of the best programmers ever!!!!!!! This helped me learn tkinter a lot!!!!
@baksagimm5890
@baksagimm5890 5 жыл бұрын
Best tk tutorial out there! Thankyou. I was struggling with overcomplicated official docs.
@KeithGalli
@KeithGalli 5 жыл бұрын
Happy it helped! :)
@jeremythompson8697
@jeremythompson8697 5 жыл бұрын
Really enjoyed your cool, calm and casual style - taking us through the "Design-Time" before run-time with a realistic demo was a great intro. Keep up the good work!
@BrannenTaylor
@BrannenTaylor 4 жыл бұрын
Thanks for the video! Very helpful. One small mod I added was being able to hit after the city. entry.bind("", (lambda event: get_weather(entry.get()))) # the entry.bind above, will allow the return to be pressed - same as clicking button.
@Ouzzel
@Ouzzel Жыл бұрын
I came here just to learn the GUI, but also needed help with API also so this was really helpful.
@cv6593
@cv6593 4 жыл бұрын
This was extremely helpful for me - I was able to follow everything and build my own front-end database form connected to SQLite just by using your tutorial as a template. Much appreciated!
@rafalpilewicz5545
@rafalpilewicz5545 4 жыл бұрын
hi Chris, can you show how your front-end database looks like? I would appreciate it. Thx
@ajitkumar-pr3ep
@ajitkumar-pr3ep 4 жыл бұрын
if any of you having a trouble with image display try importing from PIL import ImageTk, Image and then using background_image = ImageTk.PhotoImage(Image.open('your.png')) it worked for me
@noellekkar903
@noellekkar903 4 жыл бұрын
Whoa, thanks a lot. It worked for me
@roberteagly3349
@roberteagly3349 4 жыл бұрын
I'm sorry I am new to python. Could you show an example? I am using spyder, I typed exactly what Kieth typed but I get an error in regards to the background image.
@videepsingh1805
@videepsingh1805 4 жыл бұрын
Hi, I tried using what you said, and though the program didn't crash, The image didn't load up, it showed all the rest of the components(the labels, button and entry) but not the background image
@fredflintstone2305
@fredflintstone2305 3 жыл бұрын
@@videepsingh1805 Same here.
@muhammadusamaamin2845
@muhammadusamaamin2845 5 жыл бұрын
Thanks a lot! It helped me very much to learn the basics of python functions. I was having some issues in getting temp in Celsius, I resolved it by conversion from Fahrenheit to Celsius. I completed it just before adding icons.
@RubikMaster13
@RubikMaster13 3 жыл бұрын
One of the best tutorials I've ever seen. Just the right level of information, and you actually show where you get everything from!!
@GoodBoyDanny
@GoodBoyDanny 4 жыл бұрын
this is the best coding tutorial I have ever listened to
@AjaySingh-mu5ik
@AjaySingh-mu5ik 3 жыл бұрын
I love the way you explain with help of google . it motivate me that google is available for your help. You explain how to use it. And your tutorial is always base on a project. which describe how things happened.
@mohitjain4943
@mohitjain4943 5 жыл бұрын
Love From India Mate! :) i have been watching all your videos. Love your Videos man... Please Bring More videos quickly We wait for a Long time!
@KeithGalli
@KeithGalli 5 жыл бұрын
I appreciate the support mohit! I'm sorry that I've been taking a long time to post new videos. I've been very busy with school/work. Will try my best to get them out quicker, but no promises.
@muhammedalidilekci4585
@muhammedalidilekci4585 3 жыл бұрын
Thanks for being perfect. I am following you & sharing your videos with my friends from now on. This was really one of the best tutorial videos I've ever seen. You don't sound like a cold teacher, you describe things in your own words rather than definitions as much as possible, you are explaining the reasons behind your actions and choices , your sound is clear and understandable. Thanks for the video , keep up the good work bro.
@VainerCactus0
@VainerCactus0 5 жыл бұрын
Thanks for this. Was my first time coding anything using the requests module, so it was very helpful.
@lilystar5
@lilystar5 5 жыл бұрын
VainerCactus 0 my import requests doesn’t work, it says “there’s no module named ‘requests’
@VainerCactus0
@VainerCactus0 5 жыл бұрын
@@lilystar5 You know when you import random or import tkinter? import requests is the same, except requests does not come with the standard python instal. You need to download it off the internet. There should be some command for that, but it is too early for me to remember that. Just google pip instal requests and see what you come up with. There are a whole bunch of libraries and modules you can download from the internet.
@SS-bb1nc
@SS-bb1nc 4 жыл бұрын
Thanks for actually explaining the positioning methods. Strange, but I dont think any of the tkinter tutorials I watched before even mentioned place(), and its the most useful in my opinion. Best tutorial I've watched so far. You deff got a new subscriber
@MmmBopsPops
@MmmBopsPops 5 жыл бұрын
Never knew why lambdas were needed in JS as well for setTimeouts and stuff, but now it makes sense. Thanks!
@purple_rhino
@purple_rhino 4 жыл бұрын
If your getting Pillow doesn't works properly, you might want to reinstall python, making sure that when you reinstall, you check the box that says 'Copy to path' or something along those lines. Helpfully saves a lot of frustration.
@danmcginnis9933
@danmcginnis9933 4 жыл бұрын
Keith Thank you very much for taking the time to go over the details of what the code does and how it works. This was very helpful
@Ardrysto
@Ardrysto 5 жыл бұрын
lmao the moment he pressed the button an ad started playing and I was super confused
@Zephyr-tg9hu
@Zephyr-tg9hu 3 жыл бұрын
nice lol
@niyousha6868
@niyousha6868 4 жыл бұрын
You are one of the most genius people I know in the USA, you are not a silly American Keith (referring to what you said at 45:30). Also, thank you for this tutorial.
@Kedoorsie
@Kedoorsie 5 жыл бұрын
I am only at 14:05 now, but have to say that so far you have explained it brilliantly, with so many additional resources. Glad to subscribe!
@chrisw5509
@chrisw5509 3 жыл бұрын
Fantastic video! I am a beginner programmer, lol - more like a “wanna be” programmer. I started with Python and the related GUI Kivy. Your video enabled me to get a grasp on using API with Python. However, I was challenged by translating your Tkinter GUI into Kivy. I succeeded and created a Kivy Weather App. In connection, I only used one Python function / method. For my purposes and limited experience, I found using one function preferable. I have subscribed and intend to view more of your videos. Please keep up your efforts. I really appreciate your videos!!
@twnfaem
@twnfaem 5 жыл бұрын
Absolutely excellent tutorial! If you're planning on doing any more tutorials in the future: do 'em like this! Thanks and appreciation from Belgium :)
@Nurgle1977
@Nurgle1977 5 жыл бұрын
Thank you for taking the time to do this. I am just beginning out in python, I enjoyed doing this project. Also it is amazing how a wrong letter is hard to find, lol.
@thebandwidth
@thebandwidth 4 жыл бұрын
The best programming video i have ever watched on KZbin The professional teacher should learn from him
@guilhermezucco1269
@guilhermezucco1269 3 жыл бұрын
I'm watching this from Brazil, and I can honestly say that this is a great video. Along with sense of humor, this tutorial is filled with good content and also showcases handy line codes. It's my first time studying GUIs, btw
@thelamarcke
@thelamarcke 4 жыл бұрын
This is a really nice tutorial, you even introduced me to APIs, which i've been looking to for quite some time. Thanks and keep the good work
@Fkellog
@Fkellog 5 жыл бұрын
Great tutorial, it is a great help! Q: When building an app (android) in python, what libraries would you recommend for the visualization? tkinder looks promising, though I have no clue what else is out there, or how to find it.
@pascalfabiano8620
@pascalfabiano8620 5 жыл бұрын
You could try the Kivy module
@FEADith
@FEADith 4 жыл бұрын
I really like your video cos u also show the documentation and showed us where to find something.. so we can explore deeper on our own. Thanks.
@sandeepsharma-ph8id
@sandeepsharma-ph8id 4 жыл бұрын
One of the best videos. Thanks Keith. Learning couldn't be so simple.
@aravindantr4499
@aravindantr4499 5 жыл бұрын
Woww...I love the way you teach us please upload more videos based on tkinter GUI
@GiovanniGirelli1104
@GiovanniGirelli1104 Жыл бұрын
Thanks! Very cool! I followed along and was able to build another kind of app based on this tutorial.
@michaela.thompson8986
@michaela.thompson8986 2 жыл бұрын
What is that screen you left up at the end of your video (the one where you were PIP things into? I'm using Windows. Great video and I enjoyed your thorough explanations and the why you did things. A lot of other tutorial videos seem to lack the why, they seem more interested in just showing the how. Keep up the great work. My only suggestion is to create a list of your videos (in order from start to the latest). Just starting out in Python and "stumbled upon this video as a "suggested video" by KZbin. Really enjoyed it. Thank you.
@corkerydan
@corkerydan 4 жыл бұрын
Very good video. Thanks. I avoided tkinter for years for a qt builder. It's a little bit longer to design but good to know. Good work.
@eldricktrujillo4329
@eldricktrujillo4329 4 жыл бұрын
Great video, i just have finished a beginners course and this is awesome, thanks bro!
@charlietame1892
@charlietame1892 5 жыл бұрын
By the way instead of a Lambda the "Entry" fields can be read by a function as long as the function is defined after the entry fields. I didn't want to complete the weather program but here is a snippet that works. This had me fooled for a time until I realized what I was missing :) import tkinter as tk import requests from PIL import Image,ImageTk root = tk.Tk() HEIGHT = 500 WIDTH = 600 canvas = tk.Canvas(root, height=HEIGHT, width = WIDTH) canvas.pack() background_image = tk.PhotoImage(file='bgnd.png') background_label = tk.Label(root, image=background_image) background_label.place(relwidth=1, relheight=1) frame = tk.Frame(root, bg='#80c1ff', bd=5) frame.place(relx=0.5, rely=0.1, relwidth=0.75, relheight=0.1, anchor='n') entry = tk.Entry(frame, font=40) entry.place(relwidth=0.65, relheight=1) button = tk.Button(frame, text='Get Weather', font=40, command=get_weather) button.place(relx=0.7, relheight=1, relwidth=0.3) lower_frame = tk.Frame(root, bg='#80c1ff', bd=10) lower_frame.place(relx=0.5, rely=0.25, relwidth=0.75, relheight=0.6, anchor='n') label = tk.Label(lower_frame, text='This is a label', bg='yellow') label.place(relwidth=1, relheight=1) def get_weather(entry): weather=(entry.get()) print('Weather', weather) root.mainloop()
@NarenderSinghRai
@NarenderSinghRai 2 жыл бұрын
thanks.. it helped me to complete my project
@meliodas4560
@meliodas4560 4 жыл бұрын
Finally... This might be the first time I've heard someone mention "magic numbers" and why not to use them since my formal education years ago... Great vid :)
@nandaa1982
@nandaa1982 3 жыл бұрын
wow with this vidio I am making weather forecaster and helpful too
@Blankiezisnotafard
@Blankiezisnotafard 2 жыл бұрын
Awesome video keith! Looking forward to more!
@bisratgetachew8373
@bisratgetachew8373 3 жыл бұрын
We need you back man. Hope you make your return soon. Thanks again
@folarinodejayi
@folarinodejayi 4 жыл бұрын
Thank you so much for this Keith!! I completed my Stanford crash course project with this! means a lot!
@mivoe99
@mivoe99 5 жыл бұрын
Really good tutorial. Thank you for getting me started in Python and not over simplify every step you take.
@incomputable949
@incomputable949 5 жыл бұрын
Hi! Congrats on 3k subs! I love your videos and teaching style and wondered if you could do a video on creating a platformer or advanced game with art? It's just an idea tho. I know you must be busy and stuff but it would be great! (:
@KeithGalli
@KeithGalli 5 жыл бұрын
Thanks! I do want to make a tutorial for a platformer/advanced game, but unfortunately it won't be for a while. I'm currently finishing up my master's degree and it's been hard to find time for KZbin. My goal for this video will be sometime during the summer.
@ribhuhooja3137
@ribhuhooja3137 5 жыл бұрын
@@KeithGalli Please do. I'd love to watch such a tutorial. Also, if you can, please do a follow-up for the pygame video that you. Thanks for making such great tutorials, btw.
@joephinazee5422
@joephinazee5422 4 жыл бұрын
Thanks for the video Keith. Everything was well explained and I was able to follow along just fine.
@symbolorate
@symbolorate 3 жыл бұрын
an awesome short project I leaned a lot from it thanks Keith
@buuqmarabo2778
@buuqmarabo2778 5 жыл бұрын
your app looks modern! it's not true what people say about ttk after all but i am into Qt for python (PySide2) right know and hope you do tuts on that since no one do that. thanks!
@AndrewKiethBoggs
@AndrewKiethBoggs 4 жыл бұрын
Thank you for providing quality content. My friends and I are learning python and your channel has been beyond amazing. I will be recommending you!
@nagendravishwamitra3652
@nagendravishwamitra3652 3 жыл бұрын
I really understood Tkinter now ... Can you please make a video on tkinter to search a specific row in a excel n also on multiple dependent search
@edenamir5825
@edenamir5825 4 жыл бұрын
This is awesome!!!! I'm a beginner and it was so fun to watch. you made it look so simple and explained it very cllearly. thank you
@sagarentertainmenthub5181
@sagarentertainmenthub5181 2 жыл бұрын
I made my fist GUI after watching this, thanks a lot bro, love from india🤩
@amazinggrace9316
@amazinggrace9316 3 жыл бұрын
Thank you so much. I have one quick question Keith. Why did you put everything inside a canvas first. That is to say why did you put your big frame inside a canvas, then all the smaller frames inside the big frame as opposed to started with a big frame, and putting other frames in that big frame.
@aidenyang1286
@aidenyang1286 5 жыл бұрын
Dude, keep it up . Your video is quick, straight to the point. Love it. Thanks
@frikkievandermerwe
@frikkievandermerwe 5 жыл бұрын
Awesome tutorial man! Really enjoyed it - easy to follow along. The way you used "place()" function with relative positioning and sizing is something I have been searching for... I had been playing around with Kivy but always hoped Tkinter could do what I wanted. Tonight you showed me how. Thanks man :)
@bonkgta1131
@bonkgta1131 3 жыл бұрын
Finally an AMAZING programming tutor!
@xskodemedia746
@xskodemedia746 5 жыл бұрын
dude, you audio is clear and crisp! (it's been awhile since ive watched a tutorial with clear and crisp voice lol) is it the microphone or your audio editing skills that makes the audio sound great!?
@KeithGalli
@KeithGalli 5 жыл бұрын
Thanks man! It's a combination of my Sony mirrorless camera equipped with a Rode microphone. As long as the audio recording levels are set well, the audio comes out very crisp!
@mbonuchinedu2420
@mbonuchinedu2420 4 жыл бұрын
Exactly what i needed now in python, and Keith Galli came to the rescue. Thanks Keith, more grease to your elbow
@sammathew243
@sammathew243 5 жыл бұрын
Would be good that you follow this up with a GUI building using PAGE, which is WYSIWIG drag-n-drop GUI builder that gives you the Tkinter code, once you built your GUI.
@P3ace1oveUn1ty
@P3ace1oveUn1ty 3 жыл бұрын
Great Video Keith, thank you! I learn so much from these. When using pyinstaller, add a -w flag and it will get rid of the blank window for Windows users. pyinstaller.exe --onefile --icon=sun_icon.ico -w WeatherApp.py
@cooperm590
@cooperm590 4 жыл бұрын
Thanks for the tutorial, even though I used it to create a GUI for a game bot, your tutorial was very useful. keep up the good work man
@vic_dpewang9079
@vic_dpewang9079 5 жыл бұрын
I really like your video. Quick question , I try to use my own picture for the background, but it does not work, is there a format requirement ?
@daanvanvlasselaer6411
@daanvanvlasselaer6411 5 жыл бұрын
Only .png files work for me
@CitizenPerkins
@CitizenPerkins 5 жыл бұрын
I had to convert my .jpg to a .gif before it would work.
@ssnoyes
@ssnoyes 5 жыл бұрын
PhotoImage doesn't understand .jpg natively. PIL can convert it for you. effbot.org/tkinterbook/photoimage.htm
@sskengineering8474
@sskengineering8474 3 жыл бұрын
Subscribed bro!!!!! Thank you for the video my g!! love from east London
@KeithGalli
@KeithGalli 3 жыл бұрын
You're very welcome :). I appreciate the subscription!
@MariaSantos-bw7uh
@MariaSantos-bw7uh 3 жыл бұрын
This is exactly what I was looking for, it really helped a lot!! Thanks!
@IntuitiveLeap
@IntuitiveLeap 5 жыл бұрын
I hope you might do a similar tutorial using PyQt5 for the GUI at some point in the future. That gui kit has been a brain buster for me and the docs i've found so far are just not really helpful. TKinter now makes some sense though, and I thank you for that!
@vaelinalsorna1649
@vaelinalsorna1649 4 жыл бұрын
Thanks for the tutorial. I have been learning tkinter from other yoututbers and have read the docs but couldn't find a solution to make sure my widgets resized when you mess around with the window. Searched stack overflow and the official tk docs that recommended using grid_propagate(0) then adding 2 arguments (arg, weight=1) to rowconfigure and columnconfigure with weight being the supposed solution to my problem. Well, it didn't work. :/ Thankfully, I stumbled upon your video explaining how place() works instead of using pack() and grid(). Really appreciate the video. Keep up the great work. You've earned a new sub. 🙂
@enayatharia
@enayatharia 4 жыл бұрын
Finally I got how to work with API, thanks!
@MrSYLVESTER444
@MrSYLVESTER444 5 жыл бұрын
super helpful man.....much love from Nigeria
@robinsonzapata1
@robinsonzapata1 3 жыл бұрын
Great tutorial, showing documentation too!
@ashleyjacobs1002
@ashleyjacobs1002 2 жыл бұрын
Really clear and fun tutorial. Thank you!
@UBRArsenal
@UBRArsenal 5 жыл бұрын
Great Job! This is one of the best How to Program videos out there. I do have one issue, I can't get the requests library to import. It seemed to load when I did the pip command. Is anyone else having this issue? If so how did you find a fix?
@hpps7260
@hpps7260 4 жыл бұрын
Same issue here in Windows 10, but solved after installing that library using "py -m pip install requests" in a terminal. Took the answer from stackoverflow.com/questions/39832219/pip-not-working-in-python-installation-in-windows-10
@manojkanjookaran3131
@manojkanjookaran3131 5 жыл бұрын
Hi Keith, Liked your video , its awesome. Just wondering if you can help me here with something. When I run the program I get an error saying it cannot find any 'requests' module . I installed requests with pip install, so what could be wrong..?? Thanks
@Medhusalem
@Medhusalem 4 жыл бұрын
Hey mate, really great Tutorial. I have but two questions. (Didn't finish yet I am at 38:42). First: Why do we need a canvas, when we put all our frames into root as well, can't we just use the frames for canvas or ignore canvas all together? frame1 = tk.Frame(canvas...) frame2 = tk.Frame(canvas...) or frame1 = tk.Frame(root...) frame2 = tk.Frame(root...) This confuses me a little bit. Second: What about the button click, what do you think about doing it this way: def test_function(): print("Entered: "+ name.get()) name = tk.StringVar() entry = tk.Entry(upper_frame, font = 40, textvariable = name) This way we would also get the text inside the Entry. Do you think it is just perference or is your method a better, more standard way in doing it? Kind regards
@Jacman8
@Jacman8 4 жыл бұрын
was thinking the same thing, i hope he answers this
@rutujashinde9025
@rutujashinde9025 5 жыл бұрын
Thank you so very much Keith for such a great video. I have no words to explain how valuable the information presented in this tutorial is for me! It'd really be of great help to me if you let me know how to deploy this app made by pyinstaller onto an AWS server?
@Obzen88UK
@Obzen88UK 4 жыл бұрын
Great tutorial, a few little blips here and there but you taught me a lot, so thank you and keep doing what you’re doing!
@syremusic_
@syremusic_ 4 жыл бұрын
Awesome video. Super clear and easy to follow. Thank you!
@notallpolitical
@notallpolitical 4 жыл бұрын
It helps when you show your mistakes because learners such as myself can see how to solve their own code from mistakes, thanks
@Kizmaaa
@Kizmaaa 3 жыл бұрын
finnaly a tutorial that is making me can wrote my own program thanks:)
@phantomf41
@phantomf41 5 жыл бұрын
Best video on tkinter and really entertaining to listen to this dude.
Solving real world data science tasks with Python Pandas!
1:26:07
Keith Galli
Рет қаралды 1,5 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 48 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1,5 МЛН
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 80 М.
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 944 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 534 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 539 М.
Using tkinter with classes
28:23
Atlas
Рет қаралды 68 М.
Desktop GUI App With Python & Tkinter
56:39
Traversy Media
Рет қаралды 388 М.
Streamlit Mini Course - Make Websites With ONLY Python
1:35:31
Tech With Tim
Рет қаралды 15 М.
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 48 МЛН