📜  从 textpython 代码示例中删除 n

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

代码示例4
mylist = []
# Assuming that you have loaded data into a lines variable. 
for line in lines:
    mylist.append(line.strip().split('\t')