krypto_wizard
February 23rd, 2006, 06:39 AM
Hi,
I am writing code in python. I want to call a function which is written in C, all other code is in Python. How can I accomplish this.
x = AckermanFunction(m, n)
print x
AckermanFunction is written in C. It is well known for testing compilers ability to perform recursion.
Any comments on how to do the job.
Thanks
I am writing code in python. I want to call a function which is written in C, all other code is in Python. How can I accomplish this.
x = AckermanFunction(m, n)
print x
AckermanFunction is written in C. It is well known for testing compilers ability to perform recursion.
Any comments on how to do the job.
Thanks