Execute C code through Python

Diez B. Roggisch deets at nospam.web.de
Thu Oct 20 18:04:28 EDT 2005


Ernesto wrote:
> What's the easiest and quickest way to execute a compiled C "command
> line interface" program THROUGH Python?

I don't know what you mean by THROUGH. But the subprocess, popen2 and 
os-modules deal with calling other programs. Try them in that order.

Diez



More information about the Python-list mailing list