Can Python execute a compiled C program
Fredrik Lundh
fredrik at pythonware.com
Tue Mar 20 14:42:57 EST 2001
Carl Moser wrote:
> Can Python execute a compiled C-program?
os.system("program")
or
output = os.popen("program").read()
for the full story, and more options (including os.exec, os.spawn),
see the os module docs in the library reference.
Cheers /F
<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->
More information about the Python-list
mailing list