-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
python.exe .\drag_files_do_event.py报错
File ".\drag_files_do_event.py", line 1 SyntaxError: encoding problem: utf8
但是非常奇怪的是,用VScode用utf-8编码打开没有乱码。
以及文件编码转成gbk编码保存,并修改第一行为
# -*- coding: gbk -*-
依旧运行则报错:
File "D:\xxx\xxxxxxx\xxx\xxxxxxxx\xxxxx\drag_files_do_event.py", line 1
SyntaxError: encoding problem: gbk
请问能否修复一下这个问题?
Metadata
Metadata
Assignees
Labels
No labels