nteract/papermill

\r characters replaced by \r\n

Open

#722 ouverte le 27 avr. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (402 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (5 381 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

🐛 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.

Guide contributeur