Python string argument without an encoding

后端 未结 2 1135
臣服心动
臣服心动 2020-12-15 15:24

Am trying to a run this piece of code, and it keeps giving an error saying \"String argument without an encoding\"

ota_packet = ota_packet.encode(\'utf-8\')          


        
2条回答
提交回复
热议问题