Suggestion: "Completing" HTTP support in Python.

Edward Jason Riedy ejr at lotus.CS.Berkeley.EDU
Fri Jun 16 13:50:31 EDT 2000


And Robb Shecter writes:
 - 
 - I'll take another look at LWP, but I can imagine the library being 
 - even easier to use than the sample code you gave.

Just take care not to lock out the more complicated examples.  LWP
and closures / bound methods allow very efficient, event-driven 
systems.  That's what I'm using to write a very low-system-impact 
webmail scraper.  I don't need to store the whole page, just stream 
it through and take what I want.  

If I could combine this with HTTP/1.1 and a streaming XPointer 
implementation, life would be good.  I'm fairly language-agnostic 
(so long as it's dynamically typed), so I'll use whichever one gives 
this to me.  ;)  I'm writing this in spare time, so I'm not about 
to implement all the libraries I need, too.

Jason



More information about the Python-list mailing list