#!/usr/bin/env python import labhw devices = labhw.list_USB_devices() for k, v in devices.items(): print(k, v)