TypeError: argument should be integer or bytes-like object, not 'str' 解决办法:在字符串前加上b 欢迎加入技术讨论群,无广告,纯技术,欢迎各位大佬,也欢迎新手,群内禁止歧视新手,大佬自愿回答问题。