![]() |
| ||
| Calling c function from python Hi all, I am a newbie to python and am not sure,what i am doing is correct or not ,i wanna call c function from within python. i have my python program as: import DLLhere RECEIVE_FROM_IL_S() is c function which i wanna call.And my c function would be, #include <stdio.h> Also, if i don't want to pass any args to RECEIVE_FROM_IL_S from python what shud i do. Regards, john Edit: Code tags added by vegaseat |
| ||
| Re: Calling c function from python Are you following an example from a book? Normally I would use the ctypes module from: http://starship.python.net/crew/theller/ctypes/ |
| All times are GMT -4. The time now is 3:46 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC