python的跨平台usb模块? [英] cross platform usb module for python?

查看:37
本文介绍了python的跨平台usb模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣使用 python 中的 USB 设备进行一些跨平台工作,关于可以执行此类操作的模块的任何提示或建议?

I was interested in doing some cross platform work with a usb device in python, any tips or recommendations on modules that can do this type of thing?

我环顾了 SF 和 googlecode,但运气不佳.

I've looked around SF and googlecode without a lot of luck.

谢谢!

ct

推荐答案

PyUSB 正是您要找的.它是 libusb 的包装器,可在 linux 上运行并移植到 Windows 上.

PyUSB is what you are looking for. it is a wrapper around libusb which works on linux and was ported on Windows.

这篇关于python的跨平台usb模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆