By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,096 Members | 1,568 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,096 IT Pros & Developers. It's quick & easy.

C in Python

kaarthikeyapreyan
100+
P: 107
Can we embed or execute a c code in python
May 3 '07 #1
Share this Question
Share on Google+
1 Reply


bartonc
Expert 5K+
P: 6,596
Can we embed or execute a c code in python
Oh, yes! Embedding is possible if you are good with a compiler.

The really Pythonic (easy) thing to do is use the ctypes module to call pre-compiled C library functions.
May 3 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.