python3.7 ValueError: dictionary update sequence element #0 has length 1; 2 is required错误解决方法
还是太年轻了,哎,python的内置函数都没搞透彻,回头恶补一下!1.错误原因今天爬网上的一个课程的信息,返回的数据是二进制字节类型,我用strutf8编码转成字符型,看似是一个字典类型,'{"sid":"_nAVhfFFaBPPVCXyACr6","upgrades":[],"pingInterval":25000,"pingTimeout":60000}'然后想当然的就dict一下字符串,将其