I am from a Java background. In Java you can print at different levels in most frameworks. For example in log4J, you have log levels which can be set to Debug, Info, warn etc.
Does python have anything similar out of the box? i.e. without having to import another lbrary.
Thanks.
import logging, but logging is a part of the standard library, and will be installed on the machine.