Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8640
| References | <mailman.536.1309503827.1164.python-list@python.org> <iujtq4$srp$1@solani.org> <BANLkTinNLdfVRt+ExwFaMzM=JAcrJ4NqKQ@mail.gmail.com> <BANLkTi=PeQd_9W1nY4aTpp5gN4sLEWWisQ@mail.gmail.com> <BANLkTinwir_KKhmq1EdQGWLvxLQ4v3CULQ@mail.gmail.com> |
|---|---|
| Date | 2011-07-01 10:02 -0700 |
| Subject | Re: urllib, urlretrieve method, how to get headers? |
| From | Chris Rebert <clp2@rebertia.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.545.1309539754.1164.python-list@python.org> (permalink) |
On Fri, Jul 1, 2011 at 1:53 AM, Даниил Рыжков <daniil.re@gmail.com> wrote: > Hello again! > Another question: urlopen() reads full file's content, but how can I > get page by small parts? I don't think that's true. Just pass .read() the number of bytes you want to read, just as you would with an actual file object. Cheers, Chris
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 18:03 +1100
Re: urllib, urlretrieve method, how to get headers? Peter Otten <__peter__@web.de> - 2011-07-01 09:43 +0200
Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 19:26 +1100
Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 19:53 +1100
Re: urllib, urlretrieve method, how to get headers? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-07-01 22:31 +0530
Re: urllib, urlretrieve method, how to get headers? Chris Rebert <clp2@rebertia.com> - 2011-07-01 10:02 -0700
Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-02 11:47 +1100
csiph-web