# coding=utf-8
import xlwt
class fa():
@classmethod
def list(self):
n=0
a = [["a", n], ["b", n], ["c", n]]
c = []
for i in range (0,len(a)):
n=1
a[i][1]=n
print(a)
c.append(str(a))
# print(c)
a[i][1] = 0
# print(c)
print(c)
for x in range(0,len(c)):
f = xlwt.Workbook(encoding='utf-8')
sheet1 = f.add_sheet(u'sheet1', cell_overwrite_ok=True)
print(c[x])
print(type(c[x]))
sheet1.write(i, 0, c[x])
f.save('232321.xls')
aa=fa()
c=aa.list()