"tuyun" <[EMAIL PROTECTED]> wrote
I have a library written in C, I want to
make a python binding for it.
If on Windows and a DLL then ctypes is probably
the best bet.
If a simple object file on *nix then you might
try SWIG, the basic tutorial there is quite good.
There are lots of HowTo articles on this topic
however so you should find plenty explanation
for doing it from the ground up.
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor