configfileLine = '' old = ['20003','10003','s3','zxjRYZGI','sid','2018','=5','=19'] new=[clientPort,httpPort,dbName,password,SvrId,openYear,openMonth,openDay] for old,new in zip(old,new): with...
小编给大家分享一下python如何使用re.sub函数,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧! re.sub re.sub用于替换字符串中...