class_docstr: A printer which converts an expression into its Python interpretation.
class_docstr_tok: ["A","printer","which","converts","an","expression","into","its","Python","interpretation","."]
code: def __init__(self, settings=None):
      super().__init__(settings)
      self.symbols = []
      self.functions = []
  
      # Create print methods for classes that should use StrPrinter instead
      # of ReprPrinter.
      for name in STRPRINT:
          f_name = "_print_%s" % name
          f = getattr(StrPrinter, f_name)
          setattr(PythonPrinter, f_name, f)
  
file_path: sympy/sympy/printing/python.py
imports: import keyword
  import sympy
  from .repr import ReprPrinter
  from .str import StrPrinter
label_desc: Use image node_id 1 to create a new PythonPrinter object from inherited base classes: ReprPrinter, StrPrinter with example: obj = PythonPrinter(settings)