[Pythonmac-SIG] Stupid question

Ronald Oussoren ronaldoussoren at mac.com
Sun May 20 09:57:48 CEST 2007


 
On Saturday, May 19, 2007, at 11:48PM, "Calder Coalson" <ccoal.mail at gmail.com> wrote:
>This probably has the simplest solution ever, but how do you run a  
>python file from another python program?  I've tried import, but that  
>doesn't work because the thing has to be completely independent.  All  
>I want to do is split up my file into multiple files, but I can't  
>find a command just to RUN it anywhere!

Subprocess should be your friend here: http://docs.python.org/lib/module-subprocess.html

Ronald

>
>Thanks for any help...
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>


More information about the Pythonmac-SIG mailing list