vispy / jupyter_rfb

Remote Frame Buffer for Jupyter
https://jupyter-rfb.readthedocs.io
MIT License
55 stars 10 forks source link

Only capture print calls when directed at standard output #83

Open almarklein opened 7 months ago

almarklein commented 7 months ago

In order to prevent that calls to print() are lost, jupyter_rfb overloads builtins.print via a context manager, and places printed messages below the widget.

The problem, as indicated by @QuLogic in a comment in #37, is that it redirects all prints, regardless of the file argument.

Some options: