It\'s a kind of technical question. I was going through the documentation of pyudev and here I found this section.
pyudev
If you’re using a GUI too