message_box

psi4.driver.p4util.message_box(message, max_width=80, min_width=30)[source]

Put a message string into a box for extra attention.

Parameters:
  • message (str) – Message string to be boxed.

  • max_width (int) – Maximal character width of the box.

  • min_width (int) – Minimal character width of the box.

Returns:

Box containing the message as a multiline string.

Return type:

str