我正在尝试用python进行流媒体直播,我在这行中发现了错误,我在internet上尝试了所有可能的解决方案,但是在我的代码中没有成功,我使用的是Anaconda Prompt python 3.6.4
auth_encoded = base64.encodestring('%s:%s' % (user, password))[:-1]
我也试过了
auth\u encoded=base64.b64encode(base64.b64decode(“%s:%s”)(用户, (密码))
auth\u encoded=base64.b64encode(字节('%s:%s'(用户,密码)))
目前没有回答
相关问题 更多 >
编程相关推荐