[BangPypers] How to check file size before downloading it

Anand Balachandran Pillai abpillai at gmail.com
Thu May 8 08:01:23 CEST 2008

On Wed, May 7, 2008 at 5:53 PM, Akash <akashmahajan at gmail.com> wrote:
> 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

None that I know of, but you could ping me for your urllib2
questions. I have been using this module since 2003 and HarvestMan
uses it extensively. I have looked at the innards of it in detail.
Often thought of writing a reference, but never got to it.

>  Was looking to add to my bookmarks
>  regards
>  Akash
> _______________________________________________
>  BangPypers mailing list
>  BangPypers at python.org
>  http://mail.python.org/mailman/listinfo/bangpypers


More information about the BangPypers mailing list