Some applications like monitoring a serial port are best done by using a daemon process for monitoring and having it generate an event whenever there are changes on the port. This is easily done by instantiating a tkinter Toplevel window which then initiates the daemon process using "after" and then uses "withdraw" to go dormant. The daemon process will still run and will initiate itself from then on.
Tkinter supports multiple Toplevel windows so multiple daemon processes are possible. If the root is passed to window, the daemon can generate events on the root and communicate with other windows.
Features
- Simplest way to use threading in a Tkinter application.
Follow Python_Daemon
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Python_Daemon!