>230
printの中でencodeは好ましくないと思う
せめて
print(ustr)

sys.stdout.write(ustr.encode("cp932"))
のどちらかだけ(両方でも良いけどこの2つのどちらかって意味)を使うべき