PyBNF printing functions (pybnf.printing)

Contains printing commands that respect the application-wide verbosity setting.

exception pybnf.printing.PybnfError(log_message, user_message=None)[source]

Represents a user-generated error for which we can provide an informative message to the user about what went wrong with the input before quitting.

pybnf.printing.print0(s)[source]

Print the statement at any verbosity level

pybnf.printing.print1(s)[source]

Print the statement only if the verbosity level is at least 1

pybnf.printing.print2(s)[source]

Print the statement only if the verbosity level is 2