Beispiel #1
0
 def _clear_and_print(string, nb_verbose):
     if nb_verbose:
         from IPython.display import clear_output
         from IPython.core.display import display_pretty
         clear_output()
         display_pretty(string, raw=True)
     else:
         _ = os.system('cls' if os.name == 'nt' else 'clear')
         print(string)
Beispiel #2
0
def _raw_text(s):
    display_pretty(s, raw=True)
def _raw_text(s):
    display_pretty(s, raw=True)