how do i run another script from my python script

nephish at xit.net nephish at xit.net
Thu Oct 27 12:39:32 EDT 2005


hey there all,
i have been looking for a way to run a php command line script from my
python script.

here is what i want to do:

if x = 4:
    execute php4 testin.php
else:
    execute php4 testout.php

and i also need the script to wait untill the php4 script is done
(which i think is the default ) before continuing to run.

i know this is possible, but how?
thanks




More information about the Python-list mailing list