struct.error: argument for 's' must be a bytes object Python 3

后端 未结 0 1896
天涯浪人
天涯浪人 2021-02-05 18:27

I am beginner at network programming in python. I\'m trying the following code but I keep getting the struct error.

Code:

def serialize(self):
    encode         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题