Re: [newbie] how to create log files

2016-02-09 Thread Mark Lawrence
On 09/02/2016 09:33, jenswaelk...@gmail.com wrote: Hello and welcome. When I run my Python scripts from the command prompt in Linux, I can make visible all kinds of information I want to check by using print statements e.g. print (top.winfo_width()), this is very useful when debugging. However

Re: [newbie] how to create log files

2016-02-09 Thread marco . nawijn
Hello Jens, Are you aware of Python's own logging facility? It is quite powerful and flexible. Python 2: https://docs.python.org/2/library/logging.html Python 3: https://docs.python.org/3/library/logging.html Marco -- https://mail.python.org/mailman/listinfo/python-list

[newbie] how to create log files

2016-02-09 Thread jenswaelkens
When I run my Python scripts from the command prompt in Linux, I can make visible all kinds of information I want to check by using print statements e.g. print (top.winfo_width()), this is very useful when debugging. However, the final version of my program won't be run from the command line, but