File objects? - under the hood question

EP EP at
Sun Jan 23 11:27:49 EST 2005

> My brain-teaser:  What I'd like to do is read the last ~2K of a large 
> number of large files on arbitrary servers across the net, without 
> having to read each file from the beginning (which would be slow and 
> resource inefficient)...

Proper googling would have revealed that HTTP 1.1 includes a Range Request.  My bad.

Before I reinvent the wheel (and make it a little squarer than it has to be) has anyone seen a "cookbook" recipe for adding the HTTP 1.1 range request to a urllib urlopener (or something similar)?

More information about the Python-list mailing list