On Mon, Aug 31, 2009 at 7:32 AM, Girish Venkatachalam<girishvenkatacha...@gmail.com> wrote: > I am going to talk about calling Python functions from C and vice versa. > > I am not really great at this thing as I just learnt it. > > And I learnt it because I had to learn for my work. > > There seem to be two ways to marry Python with C. One is called > extending Python and > another is called embedding Python. Embedding seems to be the tougher thing > with extending being a subset of embedding Python. > > Anyway this is only a primer. Nothing more. > > There are also other advanced mechanisms using SWIG in which you can > marry several > scripting languages with C. > > Python + C is very interesting and really easy. >
Just to add, There are also Cython and Pyrex projects for writing C extensions (or Extending python) in python. They allow you to write C extensions in a python-like syntax. http://cython.org/ http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Regards Sudharshan S Blog : http://www.sudharsh.wordpress.com _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc