Skip to content

drag_files_do_event无法运行 #1

@floatyun

Description

@floatyun

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions