[python-win32] Invoking InchesToPoints

kimwaic888-pythonwin32@yahoo.com kimwaic888-pythonwin32 at yahoo.com
Tue Aug 2 20:43:08 CEST 2005


Hi, Tim,

Thank you for responding.

I don't know why that's needed neither but that's what
Record Macro showed in Word.

Is it possible that it's not 72 all the time,
depending on the screen resolution and so forth?

Regards,


Tim Roberts wrote:
> On Mon, 1 Aug 2005 10:42:22 -0700 (PDT), 
> <kimwaic888-pythonwin32 at yahoo.com> wrote:
> 
> 
>>Hello list,
>>
>>Does anybody know how I can invoke the Word
>>InchesToPoints function from Python using
PythonWin32?
>> 
>>
> 
> 
> Why would you want to?  This does exactly the same
thing in WAY fewer 
> cycles:
> 
> def InchesToPoints( inches ):
>     return inches * 72.0
> 

--
John Henry


More information about the Python-win32 mailing list