I forget exactly what the error message was, but I think it was the difference between whatever output is, and that write wanted a bytestring. -- it's possibl;e that should be fout.write(unicode(output))...
I forget exactly what the error message was, but I think it was the difference between whatever output is, and that write wanted a bytestring. -- it's possibl;e that should be fout.write( unicode( output) )...