[python-win32] python - visualbasic integration

bob bgailer at alum.rpi.edu
Tue Dec 6 22:53:49 CET 2005


At 03:18 AM 12/6/2005, Amit Antebi wrote:
>We want to combine Visual Basic with Python.
>GUI will be in VIsual basic.
>Computation Engine will be in python.
>Which architecture do you recommend:
>
>1.  COM  - who will be client and who server, and why?
>2.  Python API - access the python from VB using the python API.
>3.  Is there another way? DLL? Python Embedding
>
>Things to consider:
>
>    * The computation engine will need to work with big amounts of 
> memory, and we don't want to load them each time we access python.
>    * Debugging is important.
Heres how I've done that. I run a Python program either from a 
command prompt (or IDE) for interactive debugging purposes, or as a 
background process under scheduled tasks.

The program watches for tasks from the GUI using sockets or some more 
sophisticated layer on top of sockets, XMLRPC being one example, or 
periodically queries a database or file to see if there is something to do. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20051206/1a077e57/attachment.html


More information about the Python-win32 mailing list