newb question about @property
Lele Gaifax
lele at metapensiero.it
Tue Oct 3 07:01:58 EDT 2017
Steve D'Aprano <steve+python at pearwood.info> writes:
> (9) [ADVANCED] Modify the decorator from (8) to take an argument specifying the
> path to a file, and use the logging module to log the details to that file
> instead of printing them.
This may suffer of excessive creativity, as usually the details of *where* a
logger writes the messages are better left to a configuration done at another
level :)
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it | -- Fortunato Depero, 1929.
More information about the Python-list
mailing list