随笔分类 -  Python

摘要:读取时需自定义解析器添加remove_blank_text=True来移除原文件的空格 这样保存的时候pretty_print=True才会真正有效 参考: https://blog.csdn.net/xcookies/article/details/78647242 parser = etree. 阅读全文
posted @ 2021-09-18 00:22 wehoon 阅读(375) 评论(0) 推荐(0)