view python/lsusb.py @ 128:51cc127648e4

Splitup in interface and device
author Windel Bouwman
date Sun, 13 Jan 2013 17:31:35 +0100
parents 056face59ee7
children 654093a9a1e3
line wrap: on
line source

#!/usr/bin/python

from usb import UsbContext

context = UsbContext()
for d in context.DeviceList:
   print(d)