摘要:
转自:https://blog.csdn.net/dingjha/article/details/88787557 以读的方式打开,将文件读取到内存中with open(r"./test.ini", "r", encoding="gbk") as f: #存储为一个列表的形式 lines = f.r 阅读全文
posted @ 2019-11-04 15:39
yanhuidj
阅读(486)
评论(0)
推荐(0)
摘要:
import configparser,os,unittest'''读操作'''config = configparser.ConfigParser()# b=config.read(r'C:\Users\hui\PycharmProjects\oride\new_case\test_write.i 阅读全文
posted @ 2019-11-04 15:35
yanhuidj
阅读(358)
评论(0)
推荐(0)

浙公网安备 33010602011771号