Hi All,
I have been trying to read word doc and search for a particluar string pattern using python.I have used the py32win API .
I am succesfull till opening the file like
import win32com.client
word = win32com.client .Dispatch('Word .Application')
f = word.Documents. Open("<filename >.doc")
I am not sure how to proceed further reading each line and compare for the pattern.
If anyone has any idea , plz respond ...
Thanks in advance.
Anil.
I have been trying to read word doc and search for a particluar string pattern using python.I have used the py32win API .
I am succesfull till opening the file like
import win32com.client
word = win32com.client .Dispatch('Word .Application')
f = word.Documents. Open("<filename >.doc")
I am not sure how to proceed further reading each line and compare for the pattern.
If anyone has any idea , plz respond ...
Thanks in advance.
Anil.
Comment