method post

Syver Enstad syver at inout.no
Tue Sep 9 07:23:52 EDT 2003


"franck" <opo at opo.com> writes:

> Hi,
> 
> how to do a post with python?

import urllib

args = {'firstArg': 2, 'secondArg':1}
f = urllib.urlopen('http://myhost.com/page.cgi', urllib.urlencode(args))




More information about the Python-list mailing list