[Tutor] open files other than text?

Karthik Gurumurthy karthikg@aztec.soft.net
Wed, 23 Jan 2002 10:45:41 +0530


> I have windows 98 Python2.2. Can you open files other than text files. I
> tried to open a .doc file and just got a line of giberish. What kind of
> things can be opened?

if you want to read a MS word file then you might want to use
python bindings for windows (www.activestate.com).
Then using MS word objects, the way it is normally used in VB / VBScript,
you can
work with word documents.

But i c'd'nt find active python release for 2.2
There is one for 2.1 though. It ships with modules win32com and
win32com.client
and so on..

karthik


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor