Python comes with a nice feature that enables each module to self-test. After a few months or years, you sometimes forget what your code is doing, so having an explanation written in the code itself is indeed a great help.
- [Instructor] In the last video,…we configured different debug output levels.…This video talks about how creating self-testing code…used in Python's main section.…In this video, we will introduce our own logging file…and at the same time, create different logging levels.…By doing this, we have full control…over what gets written to our log files.…Python comes with a very nice feature…that enables each module to self-test.…Making use of this feature is a great way making sure…that changes to our code do not break existing code.…
And additionally,…the main self-testing section can serve as documentation.…For how each module works,…after a few months or years,…we sometimes forget what our code is doing.…So, having an explanation written in the code itself…is indeed a great help.…It is a good idea to always add a self-testing section…to every Python module, when possible.…It is sometimes not possible.…But in most modules, it is possible to do so.…
We will extend the previous video.…So, in order to understand what the code…
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
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.