# coding=utf-8
import codecs
if __name__ == '__main__':
cmdlist = ("Decode")
while True:
cmd = int(input('''input command:
-1:Quit
0:Decode
'''))
if cmd == -1:
break
elif cmd == 0:
name = b'\350\256\270\344\275\240\345\255\246\345\274\237'.decode('utf-8')
f = codecs.open("Decode.txt", "w", "utf-8")
f.write(name)
f.close()
print(name)
else:
print("cmd error")
continue
自由之思想,独立之意志