Skip to content
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

Added threading example with requests. Also added 'from atpbar import… #23

Conversation

choudhary-archit
Copy link

… atpbar' in the previous example.

I recently used the atpbar module in a script of mine to download files from the internet concurrently using requests, and it was slightly nontrivial; the progress bar only updated after each iteration, so one had to break out of the buffering loop every time the progress bar was to be updated. I thought it would be a useful illustration of how to use atpbar.

Also in the threading example, only flush was import from atpbar, and not the atpbar.atpbar function. I changed this as well.

Thanks for making this module, it was very helpful since the other modules didn't seem to work in my script.

@TaiSakuma TaiSakuma closed this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants