[python-win32] How to call Python methods and properties from VBS?

FT Chester_Lab at fltg.net
Sun Sep 4 15:35:45 CEST 2011


Hi Again,
    To be more specific I have compiled the Python inside a distributed package and need to know how to call from within that compiled package any method. In other words do I have to register the Python inside my .vbs script before calling any methods?

    I am saying this so another user does not need to install Python, just call using com inside the distributed Python compiled version.

    If so, how do I get the Python setup or in a form to call? I will be doing all the calls from .VBS and how would the CreateObject from there be done to setup to call the compiled Python interpreter?
        Bruce

First Post:
Hi,
    I am a blind programmer and want to know how you set up the com or automation
to call python modules, functions, methods and properties?
    I searched the web and could not find anything except an example to place script
within a script. But I don't want that, I want to call a python object to be able
to run that module inside VB script inside the screen reader script program language
which uses VBS.
    Any examples and tutorials would be helpful. Just need to know how to get the
com object or automation to be able to call any python module and run it at will.
        Sincerely
        Bruce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110904/13906bad/attachment.html>


More information about the python-win32 mailing list