Re: [python-win32] plot function

2006-09-25 Thread Gabriel Genellina
At Sunday 24/9/2006 02:55, [EMAIL PROTECTED] wrote: Does Python have a library providing a plot function similiar to matlab that will plot a math plot or just some data points in a pop-up window pychart may be useful Gabriel Genellina Softlab SRL _

[python-win32] printing to PDF

2006-09-25 Thread Michael S
Now that I resolved the PDF generation issue, I have another question.I am trying to print numerous word documents to pdf, using the "Acrobat PDFWriter". I do it in the following way:for i in range(1, 16):    doc_file = "ish0%.2d.doc" % i    pdf_file = "ish0%.2d.pdf" % i   

Re: [python-win32] How to force late binding/Solved

2006-09-25 Thread Michael S
Thanks for you help.The problem apparentely was in the parenthesis. I dropped the parenthesis from GetPDDoc and things started to work!- Original Message From: Simon Dahlbacka <[EMAIL PROTECTED]>To: Michael S <[EMAIL PROTECTED]>Sent: Monday, September 25, 2006 11:10:16 AMSubject: Re: [pytho

Re: [python-win32] AVDoc and PDDoc/How to force late binding

2006-09-25 Thread Michael S
You are right. I made a mistake, it forces early binding.However neither late nor early can discover the AcroExch.AVdoc method I need and VB does it with no problem.By the way I can force early or late binding on the Excel.Application, but for some reason not on Acrobat classes.- Original Messa

Re: [python-win32] AVDoc and PDDoc/How to force late binding

2006-09-25 Thread Simon Dahlbacka
EnsureModule forces *early* binding  On 9/25/06, Michael S <[EMAIL PROTECTED]> wrote: I am trying to force late binding, since obviously early binding does not discover the methods that I am trying to call. I ran the makepy -i from within PythonWin, to get those two lines I need to paste in into my

Re: [python-win32] AVDoc and PDDoc/How to force late binding

2006-09-25 Thread Michael S
I am trying to force late binding, since obviously early binding does not discover the methods that I am trying to call. I ran the makepy -i from within PythonWin, to get those two lines I need to paste in into my script. from win32com.client import gencache gencache.EnsureModule ... However