Certainly COM would work.  In this case your VB EXE would use CreateObject to create a Python implemented object.  In response to GUI events, the VB code can call Python methods and use the results.  For debugging, you should find any of the professional IDE packages that support remote process debugging can cope with that - I use Komodo for that kind of thing...
 
Mark
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Amit Antebi
Sent: Tuesday, 6 December 2005 10:18 PM
To: python-win32@python.org
Subject: [python-win32] python - visualbasic integration

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:

 

  1. 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.

  2. Debugging is important.

 

For your recommendations I thank you,

 

Amitay

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to