标签:odi pre 文件 文件中 style open \n strip txt
def CirculationList(ReaDinG): for ReaDLine in ReaDinG: ReaDList = ReaDLine.strip("\n").split() print(ReaDList) ##读取数据列表 ReaDing = open("file_1.txt","r",encoding="utf-8") ReaDinG = ReaDing.readlines() CirculationList(ReaDinG) ReaDing.close()
标签:odi pre 文件 文件中 style open \n strip txt
原文地址:https://www.cnblogs.com/ArtisticMonk/p/8921732.html