beating a dead horse: automated form submission

Peter Hansen peter at engcorp.com
Mon Jan 27 15:42:35 CET 2003


Whit Whitfield wrote:
> 
> Peter Hansen <peter at engcorp.com> wrote in message news:<3E342721.E8925970 at engcorp.com>...
> > Not sure what else might be going wrong... why not try
> > the example from the documentation on httplib?
> 
> I tried to run that example and get an Attribute error:HTTPConnection.
> It's a sad affair when I can't even get the 10-line examples from the
> standard python libraries to work.  Any tips there?

In addition to Andrew's possibility, what version of Python
are you running?  I just ran that exact example on Python 2.2.2
and it ran without a hitch.  But it's very likely Andrew's
hit the nail on the head.

-Peter




More information about the Python-list mailing list