How to log the print statement and error messges in PyS60?

385 Views Asked by At

When running graphics based programs in Python for S60 (PyS60) the error messages and the output of the print statement (i.e. stdout) are hidden. If due to an error application stops working as expected its lost and tracking down the bug is very difficult, sometimes require running a "second stripped version" of the code.

This is obviously painful.

How do I log those errors to a file, so that I may see them later.

1

There are 1 best solutions below

0
On BEST ANSWER