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.

Project Activity

See All Activity >

Follow Python_Daemon

Python_Daemon Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Python_Daemon!

Additional Project Details

Registered

2021-04-18