wasm-demo/demo/ermis-f/python_m/cur/0421

32 lines
1.2 KiB
Plaintext

From: williampark at my-dejanews.com (williampark at my-dejanews.com)
Date: Fri, 23 Apr 1999 06:05:52 GMT
Subject: I want to Journal Input and Log Output, any Help???
References: <01be74eb$b634c200$01656565@fidget>
Message-ID: <7fp2jv$2vj$1@nnrp1.dejanews.com>
X-UID: 421
In article <01be74eb$b634c200$01656565 at fidget>,
"Jonathan Polley" <polley at netins.net> wrote:
> Hi,
>
> I am using python to control the testing of a series of integrated
> systems. To make it easier for some of our engineers, I would like to be
> able to journal the scripts that they enter interactively. Once they enter
> a command, I would like to log the output to a file (to make it easier to
> verify the results of the test). I have been using IDLE as my python
> environment, and would like some ideas as to how to make the required edits
> (I have made some edits, but I think this is beyond by current abilities).
>
> Thanks,
>
> Jonathan Polley
> polley at netins.net
At least in Unix, 'python | tee stdout.log' will log you stdout.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own