skip to navigation
skip to content

MultipartPostHandler2 0.1.5

A handler for urllib2 to enable multipart form uploading

A handler for urllib2 to enable multipart/form-data for posting forms and uploading data.

Upload files in python:

import MultipartPostHandler, urllib2

opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }"", params)

Further Example:
The main function of this file is a sample which downloads a page and
then uploads it to the W3C validator.  
File Type Py Version Uploaded on Size
MultipartPostHandler2-0.1.5-1.noarch.rpm (md5)
built for fedora 20
RPM any 2014-09-25 8KB
MultipartPostHandler2-0.1.5-1.src.rpm (md5)
built for fedora 20
RPM any 2014-09-25 7KB
MultipartPostHandler2-0.1.5-py2.7.egg (md5) Python Egg 2.7 2014-09-25 5KB
MultipartPostHandler2-0.1.5.tar.gz (md5) Source 2014-09-25 3KB
  • Downloads (All Versions):
  • 50 downloads in the last day
  • 218 downloads in the last week
  • 1143 downloads in the last month