You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to configure the following combination:
a rich.console.Console which outputs primarily on stdout
installed logger which uses a RichHandler to output to the rich console and thereby stdout
regular print() statements also appearing on stdout
rich.progress.ProgressBar interleaved with logging/print()'ing, staying on the bottom of the terminal
when done, saving the terminal output to a file on disk, without (stripped) markup of the progress bar output itself
I had hoped the last point would be accomplished by instantiating the Console with record=True and finishing off with console.save_text(), but this appears to contain the progress bar output as well as the logging.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to configure the following combination:
rich.console.Console
which outputs primarily on stdoutrich.progress.ProgressBar
interleaved with logging/print()'ing, staying on the bottom of the terminalI had hoped the last point would be accomplished by instantiating the Console with
record=True
and finishing off withconsole.save_text()
, but this appears to contain the progress bar output as well as the logging.Beta Was this translation helpful? Give feedback.
All reactions