[Tutor] Getting started with COM

Don Arnold darnold02 at sprynet.com
Sun Jun 13 00:56:09 EDT 2004


Reportlab (www.reportlab.com) offers an excellent suite of Python modules
for generating PDFs. If your original document is straight text, I can
almost guarantee that using them will be less daunting than having to dabble
in COM.

HTH,
Don 

-----Original Message-----
From: tutor-bounces at python.org [mailto:tutor-bounces at python.org] On Behalf
Of John Fusco
Sent: Saturday, June 12, 2004 9:24 PM
To: tutor at python.org
Subject: [Tutor] Getting started with COM

I am not a windows programmer, but I am interested in
using Python to script some tasks on my Windows
workstation.

Reading the Python win32com documentation is not
encouraging.  In one section where it discusses the
specific attributes of COM objects it states "you are
just expected to know".

One thing I'd like to do is use OpenOffice to convert
a document to PDF.  I know how to do this with the
mouse, but how do I script it with COM.

I used the COM browser to look for OpenOffice or
Soffice objects and I found some, but that's all I
know about them.  I checked the OpenOffice.org website
and searched for COM and found nothing.

Is this really so difficult?  How do I get started?

Thanks in advance.

John


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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




More information about the Tutor mailing list