problems with module Cookie

John J. Lee jjl at pobox.com
Thu May 27 17:52:10 EDT 2004


Manlio Perillo <NOmanlio_perilloSPAM at libero.it> writes:
[...]
> I'm trying to fix the regular expression patternin Cookie.py but it
> does not work:
[...]

Yeah, IIRC there's some odd stuff in there, that doesn't even seem to
come from the standards, let alone reality ;-)

The Cookie module really doesn't know how to handle cookies on the
client side.  Use this, which does:

http://wwwsearch.sf.net/ClientCookie/


You can just say:

ClientCookie.urlopen("http://www.example.com/")

and be done with it.


John



More information about the Python-list mailing list