Ravaal
Ravaal

Reputation: 3359

How do I print progress of a single cell to the console using papermill?

I want my program to print the progress to the console as it is running using papermill. I'm using the following code:

print(str(int(float(percentage)*100))

In a for loop and it doesn't print the string to the console so I have no idea as to how far along the progress is other than watching the stage part of the output in papermill. The papermill code goes as follows:

/your/dir/>papermill "yournotebook.ipynb" "your notebook output.ipynb"

Any suggestions?

Upvotes: 2

Views: 1875

Answers (1)

gogasca
gogasca

Reputation: 10058

Have you used:

--progress-bar

Example:

/your/dir/>papermill "yournotebook.ipynb" "your notebook output.ipynb" --log-output --log-level DEBUG --progress-bar

Upvotes: 2

Related Questions