GUI with Python's Tkinter, by Robert Jomar Malate

  Рет қаралды 234,678

CS50

CS50

Күн бұрын

Running commands in the terminal is cool, but it is not the most user-friendly way to make people interact with your Python code. Tkinter is a standard Python library for creating Graphical User Interfaces (GUI). It is a great way to create simple Python apps and showcase to people what you have created.

Пікірлер: 269
@AlterRektMLG
@AlterRektMLG 6 жыл бұрын
I tried learning Tkinter from various other places, finally one that actually helped. Or maybe I didn't put my concentration there because there weren't mostly very presentable. Your lecture seems perfect for an intro to Tkinter.
@jeffhachtel
@jeffhachtel 5 жыл бұрын
Yeah, I found it helpful too. Simple, clear, and it works.
@Argonathican
@Argonathican 5 жыл бұрын
Thank you, what i loved about your lecture was how you explained everything you did, so i understood the point of every word in that program.
@BruceSmithbsmithmj
@BruceSmithbsmithmj 6 жыл бұрын
One of the best programming tutorials that I have seen!!!
@charlesbrewer6552
@charlesbrewer6552 4 жыл бұрын
Thank you for a very well presented and very clear explanation of the basics of tkinter. This is just what I was looking for to consolidate the information from many other presenters. I think this gives a very solid grounding to begin learning tkinter in depth.
@bulldawg4498
@bulldawg4498 5 жыл бұрын
Thanks for a solid introduction to Python GUI programming using the tkinter library ... Excellent documentation reference, too ...
5 жыл бұрын
I love this long speeches, I used them to learn and improve my projects
@jlast3987
@jlast3987 2 жыл бұрын
Great beginner's guide. Well-organized, and clearly explained. I'm a total novice and I found this super useful!
@fsaforosaforo6338
@fsaforosaforo6338 4 жыл бұрын
Excellent young man! I'm doing Python in my Bachelor's and your video is such a great source of info for creating a GUI. Keep up the good work. Look forward to your other videos.
@yousafesystems8958
@yousafesystems8958 6 жыл бұрын
Thanks, Robert, I enjoyed your video. just what i have been looking for. Please do more of this videos.
@jdsguam
@jdsguam 3 жыл бұрын
Hafa Adai from Guam! I've been trying to learn Phython for a few days now and ran across this video. Wonderful to see someone from this area doing something incredible! Outstanding!!
@KreefS
@KreefS 6 жыл бұрын
This is what I'm looking for in a tutorial. Not a guy talking to me like an idiot and telling me to just copy this and that because it works. Great explanation and presentation, I really appreciate this.
@arifbasri4950
@arifbasri4950 5 жыл бұрын
Thank you Robert & CS50.. This is a great intro to Tkinter. Really helpful with your lecture & explanation
@ludwighurtado1719
@ludwighurtado1719 4 жыл бұрын
Thanks for the lesson. And I like the fact that you explained it as if we were in class. Most people who see this video should take notice that your effort and explanation could not have been better. So what you did and how you explained it was perfect. Good Job! Greetings to D. Mallan also!
@endorphfn7403
@endorphfn7403 2 жыл бұрын
is this what college is like or is college not as interesting
@zlmsailor
@zlmsailor 4 жыл бұрын
Thank you sir! This is a crystal clear intro to Tkinter.
@nowyouknow2249
@nowyouknow2249 5 жыл бұрын
Really wonderful tutorial video on GUI using Tkinter. Thanks for the lecture. Those being indifferent should try Kivy and see it's incredibly difficult.
@AngaarUriakhil
@AngaarUriakhil 3 жыл бұрын
This is the best tutorial on this topic for beginners. Thanks so much, very simple, digestible and explained so well.
@keomamallett6536
@keomamallett6536 6 жыл бұрын
Great presentation. I stumbled across this video and it served as a great starting point in Tkinter.
@slambodianjones
@slambodianjones 5 жыл бұрын
Good presentation, I can adjust this how I need and get things going with tkinter now
@akshitbhatia694
@akshitbhatia694 6 жыл бұрын
so easy to understand trinket!! just what i was looking for! thanks for your lecture
@tridvaenazdaj
@tridvaenazdaj 6 жыл бұрын
Very, very good explanation. Thank you Robert
@ninezerocrypto7122
@ninezerocrypto7122 5 жыл бұрын
hey!! thanks for this tutorial it's really helpful for me to understand about GUI .
@MyLinuxToyBox
@MyLinuxToyBox 5 жыл бұрын
The video was nicely produced and it was very informative.
@cbton_
@cbton_ 3 жыл бұрын
I learned tkinter with this video. It is very clear and precise. Thanks!
@An_Otter_Dennis
@An_Otter_Dennis 6 жыл бұрын
Thanks for this brief introduction! :)
@rameezdavids8275
@rameezdavids8275 2 жыл бұрын
Great video - I love the stained glass analogy, really helped visualize the theory.
@williamtcastro
@williamtcastro 6 жыл бұрын
Excelent Lecture :D, learned a lot in just a few minutes.
@Cutiepie-ky9oh
@Cutiepie-ky9oh 4 жыл бұрын
You are a great teacher, thank you for an amazing tutorial!
@jn14624
@jn14624 6 жыл бұрын
Hi Robert, love your tutorials. You're doing great. keep them coming. Don't let destructive comments get you. I have 39 years experience as computer instructor. Thank you kid!
@mdnabilhossain9173
@mdnabilhossain9173 4 жыл бұрын
He is very good presenter and his style of explanation is just amazing.
@stardustypsyche8468
@stardustypsyche8468 6 жыл бұрын
Thank you Robert for the intro. Coming from an OOP background I was left wondering what is the execution flow? Mainloop on what? Functions are defined but where are they called? How often are they called? What is the loop time? What is the order of declarations, or doesn't it matter? It seems like return types are implicit depending on the type used to declare the return value. You presented a well spoken demo sample program. My suggestion is to discuss programming structure and execution flow in contrast to OOP such as C++, Java, and Visual Studio.
@jasonli1420
@jasonli1420 5 жыл бұрын
Thanks Robert! Very nice presentation
@connorclark4520
@connorclark4520 5 жыл бұрын
Thanks for the help brother! Great walkthrough
@michaelhogan2432
@michaelhogan2432 2 жыл бұрын
Excellent job, thank you very much Robert.
@1zielak1
@1zielak1 3 жыл бұрын
Thank you for your explanation. Keep it that way. Good luck
@Mahesh-gq7fm
@Mahesh-gq7fm 5 жыл бұрын
Awesome video on basics...... expecting more advanced on tkinter .. Very best video,,,...
@elcidsalazar6990
@elcidsalazar6990 6 жыл бұрын
this is great ! now I can put some "crazy stuff" on my (or someone's) desktop hahaha! , Your superb! RJ.
@aakashjana6225
@aakashjana6225 4 жыл бұрын
You can use the place function instead of grids it lets you set relative size and position which is really handy.
@VeneetBhardwaj
@VeneetBhardwaj 5 жыл бұрын
Precise and clear. Nice.
@naczelnypsycholog6296
@naczelnypsycholog6296 4 жыл бұрын
nice man, exactly what I needed and very easy to understand, +1
@muhindogalien1846
@muhindogalien1846 3 жыл бұрын
thanks for creating a such great tutorial i appreciate that!!
@Shreyas535
@Shreyas535 6 жыл бұрын
I will definitely try implementing this myself
@volkanmusabostanci8046
@volkanmusabostanci8046 2 жыл бұрын
So good men. Thank You. I really enjoyed it
@storico8531
@storico8531 6 жыл бұрын
simple explanation, i'll try it right now...
@Linux4Ever2011
@Linux4Ever2011 6 жыл бұрын
Nice introduction thank you :)
@SushrantRijal
@SushrantRijal 4 жыл бұрын
I always hated the visual part. I never like to create something which looks beautiful , i like to create something which works beautiful bts. This video just pops on recommendation, i have been coding in python since long with an ease. And i am preety comfortable on it. I had explored multiple field in python but never tried to get in GUI as the tkinter never excites me. But man, this presentation is dope. Have no words to explain.. Pure Fire!!
@buddinglearner7085
@buddinglearner7085 5 жыл бұрын
Really Great Video! Keep it Up ty
@itzikovadia851
@itzikovadia851 4 жыл бұрын
U are amazing very good presentation clearly language u will have a good luck one of the best in u tube !!!
@bakkiyavathi9127
@bakkiyavathi9127 4 жыл бұрын
Thank you so much ..it is very helpful
@francorrea284
@francorrea284 4 жыл бұрын
you got me with your intro and so profesional. you won a sucriber
@pmarzoccojr
@pmarzoccojr 4 жыл бұрын
Very nice tutorial !
@riadh260035
@riadh260035 3 жыл бұрын
good work u just do very good and nice work
@aniketverma3281
@aniketverma3281 6 жыл бұрын
Good Work!
@bznsnowite3943
@bznsnowite3943 5 жыл бұрын
Thank a lot , Robert
@therealmichaelvargas1102
@therealmichaelvargas1102 6 жыл бұрын
First and foremost, thank you Sir and thank you Harvard, super smiley face. Secondly if could do something like this for Java, primarily absolute positioning I would be like WOW. Lastly I get this error “IndexError: list index out of range” basically referring to “return phrases[random.randint(0,4)] +name” - the program still works as it should and I’ve quadruple checked my code. Still, it’s all good and thanks again for maki this stuff available to the public!
@tdoublyu729
@tdoublyu729 6 жыл бұрын
Good lecture, weldone Rjm
@TheOlddog1957
@TheOlddog1957 5 жыл бұрын
Very good, thank you!
@mohammedfoad9020
@mohammedfoad9020 5 жыл бұрын
I am really thankful for u pro
@jayvasant114
@jayvasant114 5 жыл бұрын
Awesome tutorial when enjoyed at 2x speed.
@jahidem
@jahidem 4 жыл бұрын
Thanks man.
@teremalate8593
@teremalate8593 6 жыл бұрын
Good job!
@increadibleangel7980
@increadibleangel7980 6 жыл бұрын
nice one love it!!!
@zakriabacha2477
@zakriabacha2477 4 жыл бұрын
please sir, keep continue. upload more videos as well. thanks alot.
@vishnuvarthan8304
@vishnuvarthan8304 6 жыл бұрын
awesome video
@MrBabsolut
@MrBabsolut 2 жыл бұрын
I love your class
@munawarhussain7878
@munawarhussain7878 5 жыл бұрын
a great great lecture
@adityapaithon6499
@adityapaithon6499 5 жыл бұрын
Checkout my channel too for some cool Python tutorials
@HogRider420
@HogRider420 5 жыл бұрын
This is shown when I press the button after entering name instead of my name
@georgep.2169
@georgep.2169 5 жыл бұрын
Great , thank you!!
@samborys9805
@samborys9805 6 жыл бұрын
Hi Robert. Good intro. Can you do another more in depth video explaining how to create parent child windows and how to create multi-tabbed form using tkinter. So far I didn't find and in depth videos. Only very superficial stuff, how to put widgets on the form, etc. Thanks.
@rahuljacker293
@rahuljacker293 6 жыл бұрын
excellent lecture
@bqyyap4258
@bqyyap4258 4 жыл бұрын
This is Great!!
@bqyyap4258
@bqyyap4258 4 жыл бұрын
Unlike to others, this is atleast a complete programming codes that anyone should learn, great job man..
@noutouyduangta3161
@noutouyduangta3161 4 жыл бұрын
Good presentation sir
@soumambanerjee1816
@soumambanerjee1816 6 жыл бұрын
very nice, i wish u show the advance concept also
@AncientAthlete77
@AncientAthlete77 5 жыл бұрын
useful, thanks!
@Airbag888
@Airbag888 5 жыл бұрын
What's the better option to make modern looking interfaces with python? Tkinter seems a bit antiquated
@user-om1oz9tm6o
@user-om1oz9tm6o 6 жыл бұрын
Thank you :)
@RiazKhan-ln2wm
@RiazKhan-ln2wm 6 жыл бұрын
Dear Python Guru, I’m trying to build a GUI application , what it does is it will take get inputs from users and based on the input it will show the results to user. At the backend it will get the data from Oracle database. Here I’ve few questions I’m requesting you to provide your comments. 1) The oracle setup is on my personal machine ( lets say Machine CMP123 ). So when user install the gui application using EXE then will that application interacts with oracle which got installed in CMP123 ? Is that even possible ? 2) Once the user installed GUI application in their computer using EXE then If I have to make few changes to GUI application then how does it reflects in the application which already got installed in users machine?
@MasculineFortitudeX
@MasculineFortitudeX 3 жыл бұрын
thank you so much
@RameenFallschirmjager
@RameenFallschirmjager 5 жыл бұрын
I clicked on like button when he showed the analogy staring Darth Vader!
@renatopereiradefreitas3636
@renatopereiradefreitas3636 6 жыл бұрын
is it possible to select the direct points of the graph?
@hughclarke8504
@hughclarke8504 5 жыл бұрын
When I go to effbot and I tried reading the examples and it not easily understood. If you could put a video out that shows how to put a menubar, scrollbar etc that would be so useful.
@routadu
@routadu 5 жыл бұрын
his grid is functioning well but whenever I assign grid to any label for e.g s1=tk.Label(text="something").grid(column=0,row=0) s2=tk.Label(text="something").grid(column=0,row=1) s1 label gets printed in the first column i.e there is a gap which is created automatically however s2 label gets printed out at the correct position can someone help me out what's going on? this grid thing isn't working properly for me
@parfaitebeiza72
@parfaitebeiza72 3 жыл бұрын
I am speechless let me congrats you dear coach without flattering let me bid that you're the best from now I'm stuck to your channel my need is to be trained by you please tell me how can I do
@arjunpukale3310
@arjunpukale3310 5 жыл бұрын
Thanks man
@ManojKumar-rm6io
@ManojKumar-rm6io 5 жыл бұрын
Is there a way to copy entire window or a region as image ?
@Riteshbachhar
@Riteshbachhar 6 жыл бұрын
what does tk.END mean
@muhammadshibgah2019
@muhammadshibgah2019 6 жыл бұрын
i have problem about row and column its not work at my python why?
@sendos11
@sendos11 4 жыл бұрын
That picture with lord vader is very provocative.
@tmtygnz
@tmtygnz 5 жыл бұрын
is no people in the reflection of the black screen in powerpoint
@bobmirror7164
@bobmirror7164 3 жыл бұрын
As of March 2021, code is not working with Python 3.7 on a Windows-10 computer. Maybe caused by program syntax issues. So need to know the versions of the software you used to make it useful. Other wise good video to show the flow of how to "think" when creating a Tkinter app.
@kamalhm-dev
@kamalhm-dev 6 жыл бұрын
what is that mouse he used?
@princepalsingh2149
@princepalsingh2149 6 жыл бұрын
great vedio
@akhilarayapati5292
@akhilarayapati5292 4 жыл бұрын
thank you for the video. i am trying one code using tkinter python . I am able to select the folder but i need to read files automatically by adding "//" . can you please help in resolving this issue. All i need is once the path is selected from the button through tkinter it also append the'//". Please help me!
@rickbinas6995
@rickbinas6995 5 жыл бұрын
Just a thought. If I already know c# and C++ what would be the advantage of learning Python if it has no drag and drop GUI components and has less GUI tools to deal with?
@DatFarrix
@DatFarrix 5 жыл бұрын
Depends, python has a different purpose then c# and c++, so if you have an interest in data mining or AI, then it would be worth your time to learn python, but if not, then there's not much advantage if gui work is your goal.
@rutvikrana512
@rutvikrana512 5 жыл бұрын
Hey.....I started learning Tkinter first but can’t get good resources to Learn. So I switched to Kivy. And I am very satisfied Using Kivy for developing GUI. 🙂
@livengalamulume522
@livengalamulume522 5 жыл бұрын
Kivy You mean kevy has many resources than tkinter
@rutvikrana512
@rutvikrana512 5 жыл бұрын
Ngalamulume Live ......no kivy. Kivy has a benefit of cross platform compatibility of not only Mac, windows and Linux but Android and iOS also. Plus you can code in OOP in kivy. Also kivy give you many layouts and widgets and also you can write in kv language which is much easier than Tk. Give it a try. Though, python is not good choice of language for building Mobile Apps, but you can build Pc Applications with ease by using Kivy.🙂
@uumatter_0106
@uumatter_0106 5 жыл бұрын
I get the error: function Phrase_Generator at 0x0000001E4D41C1E0 whats wrong? Pls
@quetzalkoalatl
@quetzalkoalatl 6 жыл бұрын
Hi, I just watched your video, it was really instructive, I was able to pull off a skeleton for a project I've been working on, in the end i want to have a text box like yours and at the same time to show me a graph, i can do one or the other but cannot do both, how to do that?, awesome video! thanks
@joakimjocka8022
@joakimjocka8022 4 жыл бұрын
embed Tkinter with matplotlib
@user-bu9sg6kp9h
@user-bu9sg6kp9h 3 жыл бұрын
영어 자막이 있어 좋습니다.
@arnold5621
@arnold5621 5 жыл бұрын
Thank you
@akshadamahadik9853
@akshadamahadik9853 3 жыл бұрын
How to we can used tkinter to run 2 or 3 different Python files with help of interface???
@wojciechjaworski602
@wojciechjaworski602 6 жыл бұрын
function phrase_generator has an error, because random.randint(a, b) generates random integers in range [a,b] with both end points. It should be something like this: return phrases[random.randint(0,3)] + name or much simpler version with different function: return random.choice(phrases)
@QuesoSlam
@QuesoSlam 6 жыл бұрын
How do we go from this app, to an app that creates passwords?
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,6 МЛН
Top 18 Most Useful Python Modules
10:50
Tech With Tim
Рет қаралды 927 М.
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 3,6 МЛН
These coding projects give you an unfair advantage
8:13
Jason Goodison
Рет қаралды 987 М.
Is this my Fault?
15:41
Linus Tech Tips
Рет қаралды 2 МЛН
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 227 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 560 М.
Google Coding Interview With A High School Student
57:24
Clément Mihailescu
Рет қаралды 4,1 МЛН
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН