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
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Python_Daemon!