More than one cookie with urllib2

Peter Hansen peter at engcorp.com
Fri Dec 12 09:47:05 EST 2003


"John J. Lee" wrote:
> 
> If you want to stay sane, use this:
> 
> http://wwwsearch.sourceforge.net/ClientCookie
> 
> just say:
> 
> ClientCookie.urlopen(req)
> 
> and forget about cookies.  

As the author, John might seem biased, but I'll weigh in with my own
praise for the product.  His comment "if you want to stay sane" is
really on-the-mark here... Cookies _are_ insane, but ClientCookie at
least provides them a nice padded room in which to reside...

Thanks, John! :-)

-Peter




More information about the Python-list mailing list