Al Sweigart personal blog

A 5 Minute Quickstart Guide to Python’s logging Module

To debug your program, you may be tempted to pepper your source code with print() calls to display the values of variables as your program runs. It's quick and easy to do this, but the problem is that once you see the values in the variables, that'll give you ideas for more places to put print() calls, then you run…
Points
113
HN comments
25
Submissions
1
Cited by
0 commenters

Software EngineeringTools & Productivity2012

On Hacker News

SubmittedTitle on HNPointsComments
Apr 8, 2012A 5 Minute Quickstart Guide to Python’s logging Module by gregpurtell11325

More from Al Sweigart

All 4 posts →

Related posts from the same era