AwesomeWind / Sky-Children-of-Light-Automatic-playing

此程序可以将skystudio上面的json格式的乐谱转换为可执行的autojs脚本
4 stars 2 forks source link

python小白 请问下这个是什么意思? #1

Open BlackTeaOff opened 2 years ago

BlackTeaOff commented 2 years ago

看下图片 屏幕截图 2022-03-12 152003

Caspersbane commented 2 years ago

This might help (╹◡╹) This is what fixed it for me.

Add an empty init.py file in the chart folder.

Add an empty line at the end of each text json file that you are trying to parse. (They don't generally have one and python requires it.)

Replace this section in the def read_chart script:

with open((r"chart/%s" % i), "r", encoding="utf-8", errors="ignore") as rd:

AwesomeWind commented 2 years ago

你这是谁给你的建议  我觉得改的挺好的  你可以照着上面说的试试 具体问题具体分析  他给出的建议是替换掉31行哪儿的代码用他给的这一串你可以试试

------------------ 原始邮件 ------------------ 发件人: "AwesomeWind/Sky-Automatic-playing" @.>; 发送时间: 2022年3月30日(星期三) 中午1:08 @.>; @.***>; 主题: Re: [AwesomeWind/Sky-Automatic-playing] python小白 请问下这个是什么意思? (Issue #1)

This might help (╹◡╹) This is what fixed it for me.

Add an empty init.py file in the chart folder.

Add an empty line at the end of each text json file that you are trying to parse. (They don't generally have one and python requires it.)

Replace this section in the def read_chart script:

with open((r"chart/%s" % i), "r", encoding="utf-8", errors="ignore") as rd:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>