It seems to be well explained here. It has lots of code snippets too: http://docs.python.org/c-api/
On Mon, Dec 7, 2009 at 1:55 PM, vamsikrishna katta < [email protected]> wrote: > I am a user of python and c. I tried to look into many books for embedding > python code in c but could not make the head and tail of it. Someone please > give me an example code for understanding how it works. > Example scenario: > Using lists in c(i.e. embedding the lists from python into c) > > Thank you > > SENT BY VAMSI > ------------------------------ > The INTERNET now has a personality. YOURS! See your Yahoo! > Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> > . >

