nteract/papermill

\r characters replaced by \r\n

Open

#722 geöffnet am 27. Apr. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (402 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (5.381 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

🐛 Bug

Consider the following cell: image When running normally (i.e., through interactive python), each time a new line is printed, the \r put the cursor back to the start of the line which is replaced by the next print, and the final output of the cell should be only the last print: Hello World! 20

However if I use papermill to run the notebook with I get the following output: image

This is also affecting tdqm progress bar which output becomes an unreadable mess: image

Is someone else encountering the issue ? I'm using it inside a Docker installation.

Contributor Guide