Skip to content

Instantly share code, notes, and snippets.

View fladi's full-sized avatar
🏠
Working from home

Michael Fladischer fladi

🏠
Working from home
View GitHub Profile
@fladi
fladi / pyqt5-avahi-sample.py
Created July 14, 2016 10:43
Browse avahi services through DBUS using PyQt5 and QtDbus
#!/usr/bin/python3
import sys
import logging
import signal
from PyQt5.QtCore import QObject, QVariant, pyqtSlot, pyqtSignal
from PyQt5.QtWidgets import QApplication
from PyQt5.QtDBus import QDBus, QDBusConnection, QDBusInterface, QDBusMessage