I\'m playing a little with Python 3.2.2 and want to write a simple web server to access some data remotely. This data will be generated by Python so I don\'t want to use the Sim
In Python3 string is a different type than that in Python 2.x. Cast it into bytes using either
self.wfile.write(bytes("Title goes here./html>","utf-8"))
or
self.wfile.write("Title goes here.".encode("utf-8"))