python报错invalid character in identifier

python报错invalid character in identifier,意思就是“标识符中的无效字符”,检查下有没有字符是中文的,把中文字符改成英文字符再运行就OK啦~

你可能感兴趣的:(python)