Python Forum
Code Needs finishing Off Help Needed
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code Needs finishing Off Help Needed
#14
For code over can a progress bar be fine to have,as i showed in you other Thread.
So use tqdm.
Then can plug it in in both loops.
Example:
from tqdm import tqdm, trange

# Then in the 2 loops
for ref in tqdm(plain_link):
for item in tqdm(td):
[Image: a5eEAa.jpg]
Now can see that's it's 72 planes total.
In plain 3 which downloading now there are 21 .zip files.
Of corse the measure will jump a little as some planes have more .zip files.
Plane 2 had 171 .zip files and plane 1 had 4 .zip files.
Reply


Messages In This Thread
RE: Code Needs finishing Off Help Needed - by buran - May-21-2018, 12:40 PM
RE: Code Needs finishing Off Help Needed - by snippsat - May-22-2018, 02:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Code Help Needed eddywinch82 4 4,707 Sep-28-2018, 06:38 PM
Last Post: joomdev1309

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020