JuliaPy / JuliaPy/PythonCall.jl

When using Pluto, output from pyprint is buffered

Aperta
#68 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.1k
Fork
86
Merge medio
1g 22h
PR unite (30g)
3

Descrizione

From within Pluto, `pyprint("hello world!")` does not immediately print to the terminal running the Pluto server. Also, if one uses `PlutoUI` and `with_terminal() do ...`, the output also does not immediately print.

If the notebook is stopped, or if one `pyprint`s a large number of bytes (~ 10 kB?) then the buffered output of the `pyprint` statements will be displayed.

To replicate, start a Pluto notebook by `using Pluto; Pluto.run()`, then create a new notebook with one cell containing `using PythonCall` and one containing `pyprint("hello world!")`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.