Your Python programs shouldn't be black boxes – they should be able to tell you about what's going on inside them as they run. The logging module for Python gives you convenient ways to write log messages to the console, to use different levels of verbosity for logging, and to configure defaults for logging behavior. Learn the basics of the logging module in this video, with a few easy examples to get you started.
--------------------------------
SUBSCRIBE: http://www.youtube.com/subscription_c...
FACEBOOK: / infoworld
TWITTER: / infoworld
WEBSITE: http://www.infoworld.com/