Never done it but there's plenty of documentation out there: http://stackoverflow.com/questions/145270/calling-c-c-from-python seems to be loaded with information.
Try searching the Python forum here too, but don't double post your thread, ask for it to be moved (click 'Flag Bad Post') if you think your question is better suited over on that side.
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581