HTMLParser problems.

John J. Lee jjl at pobox.com
Fri Oct 31 16:40:10 EST 2003


Peter Otten <__peter__ at web.de> writes:

> Sean Cody wrote:
[...]
> The simplest solution is to replace the above line with
> 
> parser.feed(socket.read().replace(" ", "NaN")
[...]

That's platform-dependent, if you're relying on float("NaN").


John




More information about the Python-list mailing list