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:
 
  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.
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.
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to