faqts : Computers : Programming : Languages : Python

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 18 people (56%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How to call python function from a dll which is written 'c' language ?

Dec 1st, 2004 09:00
Nat Tuck, Praveen Patil,


I don't know of any sort of automatic windows library tool for Python.
You probably need to write (in C) a python wrapper around the DLL. Take
a look at http://www.python.org/doc/2.3.4/api/api.html for details.
Writing Python extensions in C is pretty easy.