Python 3.4 :ImportError: no module named win32api

前端 未结 6 1381
萌比男神i
萌比男神i 2020-11-28 11:26

I am using python 3.4 on windows 7.In order to open a doc file i am using this code

import sys
import win32com.client as win32

word = win32.Dispatch(\"Word.         


        
6条回答
  •  醉梦人生
    2020-11-28 12:00

    I ended up debugging and copying and pasting the necessary files into the appropriate folders. It's a work-around until the bug is fixed, but it works.

提交回复
热议问题