urllib2/cookies - surely there's a better way ?

Peter Hansen peter at engcorp.com
Sun May 2 16:44:34 EDT 2004


Richard Shea wrote:

>>Search for "ClientCookie"...
> 
> That's great ! I actually laughed when I read the doco - I was only
> looking for something to parse cookies with but this does the whole
> thing ! I haven't yet used it but I've had a few wriggles getting to
> where the 'import ClientCookie' works so I thought I might tell the
> newsgroup what I did to make it work (although that might be fairly
> obvious to many).
> 
> First of all I was installing on a W98 machine. I tried using the
> install procedure  "python setup.py build" but I got the message
> "error: package directory 'ClientCookie' does not exist". I do have a
> slightly weird setup so I wasn't all that surprised.

Hmm... I believe on Windows all you should have to do is "python
setup.py install", not "build".  That will pretty much do whatever
you did to manually install it, but it's done for you...  and won't
muck with your registry since it will just install it under
your site-packages folder where it's supposed to go.

-Peter



More information about the Python-list mailing list