python实现将读入的多维list转为一维list的方法 第一种:使用extend()>>>lines=open('test.txt').readlines()>>>lines['1\n','2\n','3\n','4,5\n']> 一维list