21.04.13 16:46, Chris Angelico написав(ла): > Also, it's expecting bytes everywhere, and I can't find a simple way > to declare an encoding and let self.wfile.write() accept str. Do I > have to explicitly encode everything that I write, or is there a > cleaner way? io.TextIOWrapper