摘要:
场景回忆: 本地修改需要退回到之前的版本,打算强制push本地版本覆盖远程版本,但是在git push force后出现了以下的错误: Fix GitLab error: “you are not allowed to push code to protected branches on this 阅读全文
摘要:
原文来源:https://stackoverflow.com/questions/2136556/in python how do i split a string and keep the separators 这是解释这个问题的最简单方法。这是我正在使用的: 这就是我想要的: 原因是我想将一个字 阅读全文
摘要:
原文来源:https://www.zhihu.com/question/22699590 编码问题错误,读入文件的时候指定编码即可。 with open(fname, encoding='utf 8') as data_file: 阅读全文