python到底能做什么3有关USB通讯的模块到底叫啥

编程开发子分类4123人阅读
Python(2)
安装numpy和scipy模块的时候,一定要选择对应的版本,我用的是python3.3版本的,所以numpy和scipy的版本也要对应地选择3.3版本。
numpy官方网站有3.3版本的,但是scipy只到3.2版本&http://sourceforge.net/projects/scipy/files/scipy/0.11.0/,这样只好找一个非官方的3.3版本安装好 & & & & & &http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy-stack。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:87138次
积分:2397
积分:2397
排名:第11851名
原创:162篇
评论:16条
关注人工智能、机器学习、计算机视觉、认知科学的普通青年!
新浪微博:
独立博客:
(1)(3)(29)(27)(46)(4)(34)(4)(4)(3)(1)(5)PyUSB - A Python native interface port of the FTDI D2XX USB driver
"Glue It All Together With Python." -- Guido van Rossum.
<a href="" target="_blank"pain management
Python/FTDI-USB module
PyUSB is&a python module that interfaces to Future Technology
Devices ()&D2XX drivers.
FTDI USB chips are used in a variety of USB&devices such as USB
converters and dongles.
Currently, PyUSB has been tested under MS Windows.
PyUSB is distributed under the
Lesser&General Public License ().
It is maintained by .
Please email me if you have any questions or if you have found a bug.
If you are looking for a way to use the D2XX driver with Java, you can try
PyUSB 1.6 supports the new FTDI high speed devices.
PyUSB 1.5 eeProgram method now accepts a dict object as input instead of keyword arguments.
[Installer for Python 2.6 (MS Windows)]
[Installer for Python 2.5 (MS Windows)]
[Installer for Python 2.5 (MS Windows)]
[Installer for Python 2.5 (MS Windows)]
[Installer for Python 2.5 (MS Windows)]
[Installer for Python 2.4.1 (MS Windows)]
[Installer for Python 2.3.4 (MS Windows)]
Documentation
Please use the source and
The PyUSB API&follows&similar guidelines as the D2XX driver,
however the behavior has been modified where necessary to fit&the
Python programming style.
Example# ----------
# import the PyUSB module
import d2xx
# list devices by description, returns tuple of attached devices description strings
d = d2xx.listDevices(d2xx.OPEN_BY_DESCRIPTION)
# list devices by serial, returns tuple of attached devices serial strings
d = d2xx.listDevices() # implicit d2xx.OPEN_BY_SERIAL_NUMBER
h = d2xx.open(0)
# read eeprom
print h.eeRead()
# get queue status
print h.getQueueStatus()
# set RX/TX timeouts
h.setTimeouts()
# write bytes (serial mode)
print h.write('Hello world!\r\n")
# read bytes (serial mode)
print h.read(5)
# ----------
No Win32 API compatibility layer functions will be provided. It is better to open a
device and pass the handle to the Python for Windows
Extension functions.
Copyrights
The D2XX library is Copyright &#169;
Future Technology Devices International Ltd.
This libr you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
either version 2.1 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
Copyright &#169;
Pablo Bleyer Kocik

我要回帖

更多关于 python 通讯录 的文章

 

随机推荐