[BangPypers] How to check file size before downloading it

Akash akashmahajan at gmail.com
Wed May 7 14:23:01 CEST 2008


On Wed, May 7, 2008 at 5:41 PM, Anand Balachandran Pillai
<abpillai at gmail.com> wrote:
> Make a HEAD request. Here is one way of doing it, using urllib2.

Since we are on the subject of urllib2. Any resources you recommend
other than the standard python docs ?

I have referred to this sometimes :
http://www.voidspace.org.uk/python/articles/urllib2.shtml

Was looking to add to my bookmarks

regards
Akash


More information about the BangPypers mailing list