2016-04-03 80 views
1

我已将此文档扫描程序通过USB 2.0连接到Windows 8.1 Pro计算机,使用TWAIN协议,我需要现在扫描它。Python - TWAIN for windows not working

enter image description here

Python27和Python吐温安装,但是当我执行代码保持它失败。

回答

2

ImportError: No module named twain

复制twain.pydPython27 \ LIB \站点包

IndentationError: expected an indented block

Python是缩进敏感的。检查您的代码并修复缩进。