Skip to main content

Running Periodic background tasks in tkinter (ttkbootstrap) using .after() method

When you are building a GUI with tkinter/ttkbootstrap ,you may want to check the status of certain variable or functions continuously at regular interval and update those variables on the tkinter GUI.

Here, we are using ttkbootstrap theme extension along with tkinter and Python. 

A Short introduction to Python GUI design using ttkbootstrap and tkinter

As an embedded designer, your task often involves crafting nimble programs to facilitate seamless communication with an array of devices, including data loggers ,data acquisition modules, Serial port monitors etc. Python emerges as the go-to language for engineers operating within the embedded domain, enabling the creation of such programs with ease. 

Controlling AC Electrical devices from PC using USB Port and Python

Controlling AC electrical devices from a PC using the USB port and Python involves interfacing with external hardware capable of switching AC power, such as relays, and using Python to send commands to the hardware over USB. Here's a general overview of how you can accomplish this: