how to remove specified cookie in cookie jar?

ken ken.carlino at
Sat Mar 31 05:59:50 CEST 2007

How to remove specified cookie (via a given name) in cookie jar?

I have the following code, but how can I remove a specified cookie in
the cookie jar?
 cj = cookielib.LWPCookieJar()

 if cj is not None:
     if os.path.isfile(COOKIEFILE):
            print 'Loading Cookie--------------'

More information about the Python-list mailing list