parameters: (self, out=None, level=2)
docstring: Print basis set information according to the level of detail in print_level
          @param out The file stream to use for printing. Defaults to outfile.
          @param print_level: defaults to 2
          *  < 1: Nothing
          *    1: Brief summary
          *    2: Summary and contraction details
          *  > 2: Full details
docstring_summary: Print basis set information according to the level of detail in print_level
          @param out The file stream to use for printing. Defaults to outfile.
          @param print_level: defaults to 2
          *  < 1: Nothing
          *    1: Brief summary
          *    2: Summary and contraction details
          *  > 2: Full details
docstring_tokens: Print basis set information according to the level of detail in print_level @param out The file stream to use for printing . Defaults to outfile . @param print_level : defaults to 2 * < 1 : Nothing * 1 : Brief summary * 2 : Summary and contraction details * > 2 : Full details
function: def print_by_level(self, out=None, level=2):
          """Print basis set information according to the level of detail in print_level
          @param out The file stream to use for printing. Defaults to outfile.
          @param print_level: defaults to 2
          *  < 1: Nothing
          *    1: Brief summary
          *    2: Summary and contraction details
          *  > 2: Full details
  
          """
          if level < 1:
              return
          elif level == 1:
              text = self.pyprint(out=None)
          elif level == 2:
              text = self.print_summary(out=None)
          elif level > 2:
              text = self.print_detail(out=None)
  
          if out is None:
              print(text)
          else:
              with open(out, mode='w') as handle:
                  handle.write(text)
function_tokens: def print_by_level ( self , out = None , level = 2 ) : if level < 1 : return elif level == 1 : text = self . pyprint ( out = None ) elif level == 2 : text = self . print_summary ( out = None ) elif level > 2 : text = self . print_detail ( out = None ) if out is None : print ( text ) else : with open ( out , mode = 'w' ) as handle : handle . write ( text )