On Saturday, May 19, 2007, at 11:48PM, "Calder Coalson" <[EMAIL PROTECTED]> 
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@python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to