We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1134c37 commit 9b86b62Copy full SHA for 9b86b62
1 file changed
Jimmy66/0016/0016.py
@@ -20,7 +20,7 @@ def gen_xls(l,filename):
20
for row in l:
21
for col in row:
22
table.write(l.index(row),row.index(col),col) #row表示行,col表示列,后者的英文不一定匹配,我还是再查找下,list.index()可以得到列表中对于元素的索引值
23
- fp.save('numbers.xls')
+ fp.save(filename)
24
print '写入完毕'
25
26
#主函数,我猜这次返回的应该是列表吧
0 commit comments