This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
python_cookbook [2016/08/22 13:23] mantis [Headline] |
python_cookbook [2019/01/24 14:19] mantis [Logging to File] |
||
---|---|---|---|
Line 327: | Line 327: | ||
</code> | </code> | ||
- | ==== Headline ==== | + | ==== Taking care of boilerplate code ==== |
[[https://glyph.twistedmatrix.com/2016/08/attrs.html|attrs]] helps with boilerplate code a lot, e.g. initialisation, string representation, comparison. | [[https://glyph.twistedmatrix.com/2016/08/attrs.html|attrs]] helps with boilerplate code a lot, e.g. initialisation, string representation, comparison. | ||
Line 1145: | Line 1145: | ||
* [[http://docs.python.org/lib/module-logging.html|Logger Documentation]] | * [[http://docs.python.org/lib/module-logging.html|Logger Documentation]] | ||
- | * [[http://docs.python.org/release/2.5/lib/node422.html|Output Formatting]] | + | * [[http://docs.python.org/release/2.5/lib/node422.html|Python 2 output Formatting]] |
+ | * [[https://docs.python.org/3/howto/logging-cookbook.html|Python 3 logging cookbook]] | ||
====== Mathematics ====== | ====== Mathematics ====== |