![]() |
|
|
+ Search |
![]()
|
Jun 13th, 2000 04:39
unknown unknown, Cliff Crawford
urlopen() takes an optional second argument, which is the data to post.
For example:
urlopen("http://example.org/test.cgi", urlencode({name: "Cliff", id:
"4"})
Also, you might want to take a look at the library reference for urllib:
<http://www.python.org/doc/current/lib/module-urllib.html>