annotate python/lsusb.py @ 117:f2b37d78082d

Flash write improvements
author Windel Bouwman
date Sat, 12 Jan 2013 09:38:35 +0100
parents 056face59ee7
children 654093a9a1e3
rev   line source
112
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/python
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
2
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
3 from usb import UsbContext
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
4
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
5 context = UsbContext()
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
6 for d in context.DeviceList:
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
7 print(d)
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
8