![]() |
|
|
+ Search |
![]()
|
Jun 7th, 2000 03:39
unknown unknown, Robert Roy
From the documentation for urllib.urlopen(
This supports the following methods: read(), readline(), readlines(),
fileno(), close(), info() and geturl().
so no seek()...
nothing preventing you from doing
x = urlopen('http://www.python.org')
# read into the file and throw away result
x.read(1024)
stuffIWant = x.read(256)