Navigation

  • Index
  • modules    
  •    
  •    
  •    
  •  · 
  • 1.9.1
  •  · 
  • PSI4
  • PSI4 API: Linking C++ and Python
  • banner

banner¶

psi4.driver.p4util.banner(text, type=1, width=35, strNotOutfile=False)[source]¶

Format text into a banner style and print or return it.

Parameters:
  • text (str) – String to be emphasized.

  • type (int) – Style 1 has minimum three-line height. Style 2 has minimum one-light height.

  • width (int) – Minimum length of banner string.

  • strNotOutfile (bool) – Controls mode of return.

Return type:

Optional[str]

Returns:

  • str – If strNotOutfile is True, return string.

  • None – If strNotOutfile is False, print it to output file.

Logo

table of contents

  • banner
    • banner()

Navigation

  • Index
  • modules    
  •    
  •    
  •    
  •  · 
  • 1.9.1
  •  · 
  • PSI4
  • PSI4 API: Linking C++ and Python
  • banner
© Copyright 2007-2024, The Psi4 Project. Last updated on Thursday, 08 February 2024 09:32PM. Created using Sphinx 7.2.6.