Content-to-replace 利用python脚本实现文件内容的替换,不占内存占硬盘的方法修改文件,边读边写 使用方法:python3 your_script.py old_str new_str filename