The driver supports Python 2.6, 2.7, 3.3, and 3.4.
Setuptools 0.7 and later supports Python 3.
Setuptools was in practice unmaintained for a long time, and this prompted several people to join together and make a fork, called "Distribute", which was ported to Python 3 since 2009.
However in 2013 the projects merged, and Setuptools and Distribute are now the same thing. Installing Distribute will install an empty package that does nothing but install Setuptools.
def do_POST(self):
length = int(self.headers['Content-Length'])
post_data = urllib.parse.parse_qs(self.rfile.read(length).decode('utf-8'))
# You now have a dictionary of the post data
self.wfile.write("Lorem Ipsum".encode("utf-8"))
parser.add_argument("--verbosity", help="increase output verbosity")