New Beautiful Soup, with minor fixes and real Python 2.2 support. Now going to see Hitchhiker's with Sumana and Zack.
Mon May 02 2005 10:34 PST Out Of Order:
This was supposed to have been published yesterday:
New Beautiful Soup, with minor fixes and real Python 2.2 support. Now going to see Hitchhiker's with Sumana and Zack.
Mon May 02 2005 10:34 PST Out Of Order:
This was supposed to have been published yesterday:
Mon May 02 2005 21:05 PST Python Generators:
I'm messing around with Python generators for the first time, because I figured they'd make it easy to write different ways of traversing a Beautiful Soup parse tree, a la Ka-Ping Yee's scraper script. And they do make it easy, but they also slow down recursive tree traversals quite a bit. Is there a fast way to do this, or should I just unroll the recursion so I'm not creating a million generators?
![]() | Unless otherwise noted, all content licensed by Leonard Richardson under a Creative Commons License. |