2016-04-03 79 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是縮進敏感的。檢查您的代碼並修復縮進。