In quarto render
, can I print to stdout (in my terminal, not my notebook) while a loop is running to show my progress? (python)
#8501
-
DescriptionI have a long process that runs within one cell. I can't break up the process (it's a model training step). I'd like to know what's going on. Can I print out to stdout with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's nothing directly available in the way that Quarto communicates with Jupyter that would let you conveniently do that. Printing to stdout will cause stdout to be collected by Jupyter, placed into a cell, and ultimately into the HTML, so that wouldn't work. I would log to a file and run |
Beta Was this translation helpful? Give feedback.
There's nothing directly available in the way that Quarto communicates with Jupyter that would let you conveniently do that.
Printing to stdout will cause stdout to be collected by Jupyter, placed into a cell, and ultimately into the HTML, so that wouldn't work. I would log to a file and run
tail -F
on that file in a separate terminal.