- 論壇徽章:
- 0
|
這種問題怎么辦?應(yīng)該從哪里入手呢?好像google不到什么資料- Traceback (most recent call last):
- File "test.py", line 3, in <module>
- from comtypes.gen import MSHTML
- ImportError: cannot import name MSHTML
復(fù)制代碼 版本是:- C:\>c:\python26\python
- Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import comtypes
- >>> import win32com
- >>> comtypes.__file__
- 'c:\\python26\\lib\\site-packages\\comtypes\\__init__.pyc'
- >>>
復(fù)制代碼 |
|