log file.

Jussi Piitulainen jussi.piitulainen at helsinki.fi
Tue Jun 14 04:44:33 EDT 2016


owenpaul.po at gmail.com writes:

> I have a programme to pump out water from a sump and would like to log
> to a readable file when the pump operates. what is the easiest way to
> acheive this with python 3.

Depending on any number of details, the easiest may be to just print.
Direct stdout and stderr to files when you run the program.



More information about the Python-list mailing list