Open BlackTeaOff opened 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:
你这是谁给你的建议 我觉得改的挺好的 你可以照着上面说的试试 具体问题具体分析 他给出的建议是替换掉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: @.***>
看下图片