http POSTing
NewShoes
newshoes at mail.com
Tue Jan 4 18:00:37 EST 2000
i'm trying to create an offline form i can send to a website
through "POST". being new to python and minimal knowledge of
the http protocol, this has stumped me rather quick.
obviously the urllib is out, since it seems i can only
perform "GET" requests. but i can't figure out if the
httplib is lowlevel enough, or if i need to go down to sockets
anyways, if someone has an HTML form like this...
<FORM ACTION="http://www.test.com/form.html" METHOD="POST">
<INPUT TYPE="hidden" NAME="hidd" VAL="en">
<INPUT TYPE="text" NAME="email" VALUE="you at yourmail.com">
<INPUT TYPE="image" SRC=post.gif NAME="POST">
</FORM>
how would one go about sending this off if filled out
from a simple TKinter form??
(quick example code being what i seek here) :]
More information about the Python-list
mailing list