我在ubuntu 9.04上使用python说我有两台usb设备连接到一台PC.我如何识别python代码中的设备.....例如
if usb port id ==如果usb port id == B将数据写入设备2,则向设备1写入数据
有任何想法吗....
python port controls device
controls ×1
device ×1
port ×1
python ×1