On 28 June 2012 13:27, Henrique email@example.com wrote:
By reading your email, I think you might want to first learn some basic concepts about C programming and how a program can be linked to dynamic or static libraries.
I second that piece of advice.
Some time ago I wrote some introduction blog posts about the Python C API. If you are interested, this might help you a little bit http://www.gilgalab.com.br/2011/05/03/python-c-api-first-step/ http://www.gilgalab.com.br/2011/05/03/python-c-api-second-step/
I'd also suggest to watch Ned Batchelder's talk from PyCon 2009 in Chicago:
A Whirlwind Excursion through Python C Extensions
Mateusz Loskot, http://mateusz.loskot.net