On 2009-12-03, Patrick Sabin <patrick.just4...@gmail.com> wrote:

>> I am developing a Python application and I need to call a C program 
>> which needs one parameter and it returns another one.

> Have a look at the ctypes module 
> http://python.net/crew/theller/ctypes/tutorial.html

Ctypes is great, except it's for calling C functions within
libraries.  Calling C programs is done using the subprocess
module:

http://docs.python.org/library/subprocess.html

-- 
Grant Edwards                   grante             Yow! I'm rated PG-34!!
                                  at               
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to