Hi,
This is my code snippet. This code will not read the characters in Ms Word Document. I got the below output. But if i use any txt format this will be display properly. Instead of txt format i am using doc format. I got error while reading. please help me to solve this problem
req = self.request()
inp = file('C:\\Python.doc','r')
for line in inp:
self.writeln(line)
inp.close()
inp = file('C:\\Python.doc','r')
for line in inp:
self.writeln(line)
inp.close()
Output :
ÐÏࡱ
regards!
Python eager
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
_______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig