Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行 SL4A Python 2.6.2 解释器。此代码可以正常工作:
import android droid = android.Android()
但是当我在同一台机器上运行 QPython 2.7.2 解释器时,相同的代码给了我错误:
AttributeError: 'module' object has no attribute 'Android'
androidhelper 而是导入。
androidhelper
import androidhelper droid = androidhelper.Android()