[DB-SIG] reg File Reading

python eager python_eager at yahoo.com
Thu Feb 23 05:29:22 CET 2006

    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:
  Output :
  Python eager

Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/db-sig/attachments/20060222/48ec0eb3/attachment.htm 

More information about the DB-SIG mailing list