running a c program from a python script

2005-12-03 Thread johnclare
Help - I'm (very) new to python. I want to run run a c executable from a python script - how do I do this? Many thanks for your help, j -- http://mail.python.org/mailman/listinfo/python-list

Re: running a c program from a python script

2005-12-03 Thread Scott David Daniels
johnclare wrote: Help - I'm (very) new to python. I want to run run a c executable from a python script - how do I do this? Many thanks for your help, j generally: import os os.execl(program_location) Look in os, Process management for further details. The next time you ask,

Re: running a c program from a python script

2005-12-03 Thread johnclare
Great stuff, thanks, it works. -- http://mail.python.org/mailman/listinfo/python-list