On Tue, 26 Apr 2005 20:28:43 GMT, Andrew Godwin wrote:
> I'm trying to write a python script to download data (well, files) from a
> HTTP server (well, a PHP script spitting them out, at least).
> The file data is just the returned data from the request (the server script
> echoes the file and t
> But some of these files are going to be really, really big, and I want
> to get a progress bar going. I've tried doing a while loop like this:
Here is a little snippet that I use occassionally:
-- geturl.py ---
import os
import sys
import urllib
def _re
I'm trying to write a python script to download data (well, files) from a HTTP
server (well, a PHP script spitting them out, at least).
The file data is just the returned data from the request (the server script
echoes the file and then dies).
I call the page using urllib2, like so:
satelliteRe