标签: python json
我正在尝试使用py_translator模块将泰卢固语字符串翻译成英语,但在第二行代码中遇到以下错误。
JSONDecodeError:预期值:第1行第1列(字符0)
from py_translator import Translator
s = Translator().translate(text='కాంగ్రెస్, బిజెపిలతో ఢీ: మరోసారి కేసీఆర్ ఫెడరల్ ఫ్రంట్ మాట', dest='en').text print(s)