python excel zelle schreiben

Solutions on MaxInterview for python excel zelle schreiben by the best coders in the world

showing results for - "python excel zelle schreiben"
Ilaria
22 May 2019
1import xlwt
2
3x=1
4y=2
5z=3
6
7list1=[2.34,4.346,4.234]
8
9book = xlwt.Workbook(encoding="utf-8")
10
11sheet1 = book.add_sheet("Sheet 1")
12
13sheet1.write(0, 0, "Display")
14sheet1.write(1, 0, "Dominance")
15sheet1.write(2, 0, "Test")
16
17sheet1.write(0, 1, x)
18sheet1.write(1, 1, y)
19sheet1.write(2, 1, z)
20
21sheet1.write(4, 0, "Stimulus Time")
22sheet1.write(4, 1, "Reaction Time")
23
24i=4
25
26for n in list1:
27    i = i+1
28    sheet1.write(i, 0, n)
29
30
31
32book.save("trial.xls")
33
similar questions
queries leading to this page
python excel zelle schreiben