Traceback(mostrecentcalllast):File"recg.py",line8,inimporturllib.request,jsonFile"D:\pyhton3.7\lib\urllib\request.py",line97,inimporttempfileFile"D:\pyhto...
Traceback (most recent call last): File "recg.py", line 8, in import urllib.request, json File "D:\pyhton3.7\lib\urllib\request.py", line 97, in import tempfile File "D:\pyhton3.7\lib\tempfile.py", line 43, in import shutil as _shutil File "D:\pyhton3.7\lib\shutil.py", line 22, in import bz2 File "D:\pyhton3.7\lib\bz2.py", line 17, in from threading import RLock File "D:\pyhton3.7\lib\threading.py", line 8, in from traceback import format_exc as _format_exc File "D:\pyhton3.7\lib\traceback.py", line 5, in import linecache File "D:\pyhton3.7\lib\linecache.py", line 11, in import tokenize File "D:\pyhton3.7\lib\tokenize.py", line 35, in from token import * File "D:\token.py", line 18 host = 'https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials'\'&client_id=%s'\'&client_secret=%s' % (AK, SK) ^SyntaxError: unexpected character after line continuation character
展开