Re: Progress Bar with urllib2

2005-04-26 Thread John A Ferguson
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

Re: Progress Bar with urllib2

2005-04-26 Thread Trent Mick
> 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

Progress Bar with urllib2

2005-04-26 Thread Andrew Godwin
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