From: Tony C. <cap...@gm...> - 2007-12-24 08:25:47
|
If you're using Python 2.5 or later, try using the subprocess module. It has replacements for popen, and os.system and others I'm calling both an exe and a python script from a Pythoncard app using subprocess, and I am easily capturing stdout and stderr. The subprocess module makes this very easy Message: 1 Date: Mon, 03 Dec 2007 23:42:34 +0000 From: Alex Tweedly <al...@tw...> Subject: Re: [Pythoncard-users] Executing python scripts from a python program. To: "Hedlund, Peter" <phe...@te...> Cc: "'pyt...@li...'" <pyt...@li...> Message-ID: <475...@tw...> Content-Type: text/plain; charset="iso-8859-1" |