For Linux OS
The front end is developed in Electron JS. I need a code in Python to be integrated with it.
Objective of code:
The application while running in the system must detect the USB connected to the system. If it is connected, an alert window should pop-up displaying the message 'Kindly remove the external device connected'. If it is not connected the application should function as usual.
The task should repeat itself every 15 seconds.