re Executing python scripts from a python
"Tony Cappellini" <[email protected]> Mon, 24 Dec 2007 00:25:52 -0800
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Subject: Re: [Pythoncard-users] Executing python scripts from a python program. To: "Hedlund, Peter" <[email protected]> Cc: "'[email protected]'" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/