当我尝试使用泡菜导出保存在Azuremodel项目中的pycharm文件时:
with open ("Azuremodel" , 'wb') as picklefile:
pickle.dump(cls , picklefile)
with open('Azuremodel' , 'rb') as training_model:
model = pickle.load(training_model)
我得到的错误是:
File "C:/Users/ScariaAr/.PyCharmCE2019.1/config/scratches/Azuremodel.py", line 78
with open ('Azuremodel' , 'wb') as picklefile:
^
SyntaxError: invalid character in identifier