Posted By

o0110o on 08/16/13


file python download progress transfer percentage

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Display the download percentage of a file

 / Published in: Python


Place this snippent in your script, and call it like this: urllib.urlretrieve(getFile, saveFile, reporthook=report)

Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.

Report this snippet  

You need to login to post a comment.