This error message indicates that there is an invalid character (in this case, a Chinese comma ',') in line 28 of your Python code file '2.py'. Python only recognizes ASCII characters and some Unicode characters, but not all Unicode characters.

To fix this error, you need to replace the invalid character with a valid one, such as a regular comma ','.

Python SyntaxError: Invalid Character ',' (U+FF0C) in File '2.py'

原文地址: https://www.cveoy.top/t/topic/ouFt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录