Shouldn't urlopen "files" be iterable?

Magnus Lie Hetland mlh at
Sat Sep 29 00:33:33 CEST 2001

I just tried to do

  for line in urlopen(url): ...

but it didn't work... Shouldn't the urllib "files"
behave like other files? (Using 2.2a2)


  Magnus Lie Hetland

 "Reality is that which, when you stop believing in
  it, doesn't go away."           -- Philip K. Dick

More information about the Python-list mailing list