后台运行文件

后台运行文件

使用tmux

[python]UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 0: ordinal not in range(128)

Solve:

1
2
3
4
# myfile.py
import sys
reload(sys)
sys.setdefaultencoding('utf8')
给咱来个🍰,啾咪