Source code for pwtools.verbose

# Define message printing stuff. Used in all other modules. Use the global var
# VERBOSE to turn chatty functions on/off.
#
# from pwtools import verbose, parse
# verbose.VERBOSE = True
# pp = parse.PwSCFOutputFile(...)

VERBOSE = False

[docs] def verbose(msg): if VERBOSE: print(msg)