How to write an API for a Python application?

Gary Kshepitzki kshepitzki at yahoo.com
Mon Nov 14 19:31:23 CET 2005


Hello
I would like to create an API for a piece of Python code. The API is for use by non Python code.
It should support interaction in both directions, both accessing functions on the API and the ability for the API to raise events on its clients. 
What is the best way to do that?
I though of doing it as a python COM server but I am not familiar with COM and I saw that implementing a COM server with events in python is not trivial.
Is there a better (or simpler) solution?
What are the common ways for doing that?

Any answer would be greatly appreciated.
Regards
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051114/455bd16a/attachment.html>


More information about the Python-list mailing list