Popular recipes tagged "form" but not "javascript"http://code.activestate.com/recipes/tags/form-javascript/2017-04-07T13:01:45-07:00ActiveState Code RecipesForm with action like html forms. Tkinter (Python) 2017-04-07T13:01:45-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580714-form-with-action-like-html-forms-tkinter/ <p style="color: grey"> Python recipe 580714 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/form/">form</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 14. </p> <p>Create forms using Tkinter with an associated action in the same way we do with HTML.</p> Composing a POSTable HTTP request with multipart/form-data Content-Type to simulate a form/file upload. (Python) 2014-03-08T17:34:38-08:00István Pásztorhttp://code.activestate.com/recipes/users/4189380/http://code.activestate.com/recipes/578846-composing-a-postable-http-request-with-multipartfo/ <p style="color: grey"> Python recipe 578846 by <a href="/recipes/users/4189380/">István Pásztor</a> (<a href="/recipes/tags/field/">field</a>, <a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/form/">form</a>, <a href="/recipes/tags/html/">html</a>, <a href="/recipes/tags/httpclient/">httpclient</a>, <a href="/recipes/tags/mime/">mime</a>, <a href="/recipes/tags/multipart/">multipart</a>, <a href="/recipes/tags/post/">post</a>, <a href="/recipes/tags/upload/">upload</a>, <a href="/recipes/tags/web/">web</a>). Revision 5. </p> <p>This code is useful if you are using a http client and you want to simulate a request similar to that of a browser that submits a form containing several input fields (including file upload fields). I've used this with python 2.x.</p> Encode multipart form data for uploading files via POST (Python) 2013-09-22T21:27:24-07:00Ben Hoythttp://code.activestate.com/recipes/users/4170919/http://code.activestate.com/recipes/578668-encode-multipart-form-data-for-uploading-files-via/ <p style="color: grey"> Python recipe 578668 by <a href="/recipes/users/4170919/">Ben Hoyt</a> (<a href="/recipes/tags/form/">form</a>, <a href="/recipes/tags/http/">http</a>, <a href="/recipes/tags/multipart/">multipart</a>, <a href="/recipes/tags/upload/">upload</a>). </p> <p>This function lets you encode form fields <em>and</em> files in multipart/form-data format for uploading files via HTTP POST.</p> Post automatically on the python cookbook (Python) 2008-08-20T10:50:07-07:00bussiere bussierehttp://code.activestate.com/recipes/users/4050557/http://code.activestate.com/recipes/576439-post-automatically-on-the-python-cookbook/ <p style="color: grey"> Python recipe 576439 by <a href="/recipes/users/4050557/">bussiere bussiere</a> (<a href="/recipes/tags/add/">add</a>, <a href="/recipes/tags/automatically/">automatically</a>, <a href="/recipes/tags/cookbook/">cookbook</a>, <a href="/recipes/tags/form/">form</a>, <a href="/recipes/tags/post/">post</a>, <a href="/recipes/tags/recipe/">recipe</a>, <a href="/recipes/tags/tag/">tag</a>, <a href="/recipes/tags/tags/">tags</a>). Revision 3. </p> <p>hok to make a post by a little script it need httplib2 : <a href="http://code.google.com/p/httplib2/" rel="nofollow">http://code.google.com/p/httplib2/</a></p>