Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drag_files_do_event无法运行 #1

Open
floatyun opened this issue Feb 24, 2020 · 0 comments
Open

drag_files_do_event无法运行 #1

floatyun opened this issue Feb 24, 2020 · 0 comments

Comments

@floatyun
Copy link

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

请问能否修复一下这个问题?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant