[Zope] Using urllib2 to access Zope URLs

Dieter Maurer dieter@handshake.de
Wed, 21 May 2003 20:47:58 +0200


Damon Butler wrote at 2003-5-20 14:53 -0500:
 > I'd like to write a script that I can run from the command line -- NOT a
 > Python script object in Zope or even an external method -- that I can
 > run to upload files into Zope. Here's some code that I'm using right now
 > that, according to the documentation and examples I've seen for the
 > urllib2 library, OUGHT to work:

I use "ZPublisher.Client". It is much easier then "urllib2".


Dieter