Mailing List Archive

I want to Journal Input and Log Output, any Help???
In article <01be74eb$b634c200$01656565@fidget>,
"Jonathan Polley" <polley@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@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