pyudev Questions
3
I want to create a script that detects once the USB drive is plugged into the computer and for now just to print in the cmd detect.
Note I am using windows after my search I found that I need to us...
5
I want to make something which will run on the background and only after the computer detect new device is connected the rest of the code will run, is there any elegant way to do such a thing?
2
Solved
Using pydev with python-2.7, I wish obtain the device path of connected devices.
Now I use this code:
from pyudev.glib import GUDevMonitorObserver as MonitorObserver
def device_event(observer, ...
1
© 2022 - 2024 — McMap. All rights reserved.