Skip to content

\r characters replaced by \r\n #722

Open
@jonathanmisuel

Description

@jonathanmisuel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions