I want to Journal Input and Log Output, any Help???

williampark at my-dejanews.com williampark at my-dejanews.com
Fri Apr 23 02:05:52 EDT 1999


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    




More information about the Python-list mailing list