def vpprint(expr, **settings):
 pp = VectorPrettyPrinter(settings)
 use_unicode = pp._settings['use_unicode']
 from sympy.printing.pretty.pretty_symbology import pretty_use_unicode
 uflag = pretty_use_unicode(use_unicode)
 try:
  return pp.doprint(expr)
 finally:
  pretty_use_unicode(uflag)

def vpprint ( expr , ** settings ) : pp = VectorPrettyPrinter ( settings ) use_unicode = pp . _settings [ 'use_unicode' ] from sympy . printing . pretty . pretty_symbology import pretty_use_unicode uflag = pretty_use_unicode ( use_unicode ) try : return pp . doprint ( expr ) finally : pretty_use_unicode ( uflag )
function for pretty printing of expressions generated in the sympy .