python中指定行内容替换成另外一行指定的内容
text1.txt文件"item":"厁","item":"羐","item":"彳",,"exp":"独自~""item":"銱","item":"臻",,"exp":...
text1.txt文件"item" : "厁","item" : "羐","item" : "彳",,"exp" : "独自~""item" : "銱","item" : "臻",,"exp" : "渐~佳境|日~完善|百福具~""item" : "莪","item" : "懑",,"exp" : "烦~|愁~|忧~","exp" : "愤~""item" : "譻","item" : "輧","item" : "遭",,"exp" : "~祸︱~遇︱~罪","exp" : "一~生,两~熟","exp" : "跑了一~儿|用绳子绕两~""item" : "灯","item" : "灯",用Python如何将text1.txt文件,"exp" : 行的波浪号替换成"item" :行对应的汉字。急用,谢谢各位!
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询