-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing the progress to a log file #20
Comments
Should the whole progress bar/percentage to be added to the log file as well?
|
Hm, I would say yes. It may seem a bit cluttered, but it would be useful to have as much info as possible in logfiles.
I remember that someone mentioned this issue before ... I just see that I added a E.g., n = 100
bar = pyprind.ProgBar(n, bar_char='█')
for i in range(n):
time.sleep(0.5) # do some computation
bar.update(force_flush=True) Setting |
I think in certain settings, it would be useful to redirect the progress bar/percentage to a log file (for example, if we are running scripts remotely and don't want to maintain a
screen
session.An optional argument could be added that accepts a valid file path, e.g.,
The text was updated successfully, but these errors were encountered: