from logitech.g19 import G19 print("clear") if __name__ == '__main__': lg19 = G19(True) lg19.start_event_handling() lg19.stop_event_handling()