[python-win32] Invoking InchesToPoints

Tim Roberts timr at probo.com
Tue Aug 2 18:45:50 CEST 2005


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

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list