#! /bin/python

filename='setup.ini'
lines=[]
with open(filename,'r') as f:
    lines=f.readlines()
lines[1]='namespace = qmone-33c49600-4c22-486d-a397-e4f02bcdcf18' + '\n'
lines[2]='interface = mon-33c4960d-0c' + '\n'

with open(filename,'w') as f:
    for data in lines:
        f.write(data)
    f.flush()

 

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐