python - SyntaxError: Non-ASCII character '\xa3' in file when ...

python - SyntaxError: Non-ASCII character '\xa3' in file when ...

瀏覽:434
日期:2025-06-17
First add the # -*- coding: utf-8 -*- line to the beginning of the file and then use u' foo' for all your non-ASCII ......看更多