As your GUI is ever-increasing in its functionality and usefulness, it starts to talk to networks, processes, and websites, and will eventually have to wait for data to be made available for the GUI to represent. Creating queues in Python solves the probl
- [Instructor] In the previous video,…we looked at how to stop a thread.…Let's see how to use queues.…We will create a queue and place messages…into one side of the queue…in a First In First Out, FIFO, fashion.…We'll then get the messages out of the queue…and then print them to the console.…We will then see why we have…to call the method in its own thread.…A Python queue is a data structure…that implements the First In First Out paradigm,…basically working like a pipe.…
You shovel something into the pipe on one side…and it falls out on the other side of the pipe.…The main difference between this queue shoveling…and shoveling mud into physical pipes…is that in Python queues, things do not get mixed up.…You put one unit in and that unit…comes back out on the other side.…Next, you place another unit in,…say for example, an instance of a class,…and this entire unit will come back out…on the other end as one integral piece.…
It comes back out at the other end…in the exact order we inserted code into the queue.…A queue is not a stack, where we push and pop data.…
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.