解决Python读取16进制数据

Python读取返回16进制解决方法

import codecs
codecs.open(r'C:\ProgramData\Sangfor\EDR\log\sfavui.log', 'r', 'utf-16-le').readline()

猜你喜欢

转载自www.cnblogs.com/gtea/p/12531014.html