EMBEDDING > Run Python & Run C Function

Farshid Lashkari no at spam.com
Fri Jun 22 14:21:04 EDT 2007


anonymisiert85 at mymail.ch wrote:
> At the moment i can run python-string-code from C (MinGW, WinXP)
> 
> But how can i register a C-function in python-RUNTIME and call this C
> function from python - without wrapper dll's or libs???

Have a look at the following documentation page on extending/embedding 
python. I believe it does exactly what you want.

http://www.python.org/doc/ext/extending-with-embedding.html

-Farshid



More information about the Python-list mailing list