Python is an object-oriented programming language yet it does not always make sense to use OOP. For simple scripting tasks, the legacy waterfall coding style is still appropriate.
- [Narrator] In the previous video,…we looked at connecting modules.…In this video, we will merge…both procedural and OOP style of coding.…We will create a Python GUI in a procedural way,…and later, we'll add a class to the top of the module.…We will create an OOP style class…that will display a tooltip when we hover the mouse…over a widget in a Python GUI…that we will create using a waterfall style.…Fall-down and waterfall coding styles are the same.…
It means that we have to physically place code above code…before we can call it from the code below.…In this paradigm, the code literally falls down…from the top of our program to the bottom of our program…when we execute the code.…In this video, we will create a GUI using Tkinter,…which is similar to the GUI we created…in the first section of this course.…How to do it.…In Python, we can bind functions to classes…by turning them into methods using the self keyword.…
This is a truly wonderful capability of Python,…and it allows us to create large systems…that are understandable and maintainable.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Creating buttons and widgets
- Adding labels and features
- Expanding a GUI dynamically
- Aligning frames and embedding frames
- Creating menu bars, message boxes, and tooltips
- Using module-level global variables
- Coding in classes
- Using Matplotlib to create charts
- Working with multiple threads, queues, and TCP/IP
- Using URLOpen to read data from websites
- Localizing a GUI and preparing for internationalization
- Testing a GUI using unit tests and Eclipse PyDev IDE
- Using the wxPython library
- Using Tkinter, PyOpenGL, and Pyglet
Skill Level Intermediate
Python GUI Development with Tkinterwith Barron Stone4h 55m Intermediate
1. Creating the GUI Form and Adding Widgets
2. Layout Management
3. Look and Feel Customization
4. Data and Classes
Using the StringVar() type8m 14s
5. Matplotlib Charts
6. Threads and Networking
7. Storing Data in Our MySQL Database via Our GUI
8. Internationalization and Testing
9. Extending Our GUI with the wxPython Library
10. Creating Amazing 3D GUIs with PyOpenGL and Pyglet
11. Best Practices
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.