到 读取文件中的每一行并分配给变量 我在Python2.6.2中使用了这个方法
t=open(supportID+"stmp.txt","r") lines = t.readlines() t.close() a=lines[0] b=lines[1] c=lines[2] ...