📜  python 读取字符串列表中的文件 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:42.947000             🧑  作者: Mango

代码示例1
# read file in a string list
with open(fileName) as f:
    lineList = f.readlines()