在青龙面板里面运行最新的PY脚本提示这个
File "/ql/data/scripts/chaomi0.py", line 41
print(f"------ Code:{res1["error"]},Access Token获取失败 ------")
^^^^^
SyntaxError: f-string: unmatched '['
已经尝试过把原来账户注销了然后重新申请重新绑定了。。一样提示这玩意。。。
抱歉,Python有点生疏了,重新修改过了已经,之前老是登录频繁忘记测试了,目前是正常的
用了昨天更新的PY,提示这个
Traceback (most recent call last):
File "/ql/data/scripts/chaomi0.py", line 13, in <module>
current_dir = os.path.dirname(os.path.abspath(file))
NameError: name 'os' is not defined用了昨天更新的PY,提示这个
Traceback (most recent call last):
File "/ql/data/scripts/chaomi0.py", line 13, in <module>
current_dir = os.path.dirname(os.path.abspath(file))
NameError: name 'os' is not defined原来是我复制没有复制全。。。是我的错。。
Login to comment