|

楼主 |
发表于 2020-12-17 17:53:38
|
显示全部楼层
- Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
- Type "help", "copyright", "credits" or "license()" for more information.
- >>>
- ============= RESTART: D:/03-其他/个人/Training Course/翻译协调标准/xin_1.py =============
- 输入0结束程序:
- 请输入需要翻译的内容:新的使用方
- Traceback (most recent call last):
- File "D:/03-其他/个人/Training Course/翻译协调标准/xin_1.py", line 45, in <module>
- target=json.loads(html)
- File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\json\__init__.py", line 357, in loads
- return _default_decoder.decode(s)
- File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 355, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- >>>
复制代码
还是不行  |
|