WANT: bad code in python (for refactoring example)
alister
alister.ware at ntlworld.com
Thu Feb 16 04:43:29 EST 2017
On Wed, 15 Feb 2017 19:08:59 -0800, Paul Rubin wrote:
> Antoon Pardon <antoon.pardon at rece.vub.ac.be> writes:
>> On reason to use this is for some easy "logging"
>
> I think it's better to use the actual logging module. I generally start
> a new program with print statements but convert them to logging after
> there's enough code to want to be more organized about it.
my default python template file includes basic logging setup from the
start
(all 3 lines of it )
--
"...if the church put in half the time on covetousness that it does on
lust,
this would be a better world." - Garrison Keillor, "Lake Wobegon Days"
More information about the Python-list
mailing list