質問編集履歴
1
コードの編集ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
+
|
8
|
+
|
7
|
-
|
9
|
+
```python
|
8
10
|
|
9
11
|
import openpyxl
|
10
12
|
|
@@ -46,21 +48,21 @@
|
|
46
48
|
|
47
49
|
for row_num in range(13, 44):
|
48
50
|
|
49
|
-
|
51
|
+
if date_start <= date_end:
|
50
52
|
|
51
|
-
|
52
53
|
|
53
|
-
ws.cell(row=row_num, column=1).value = date_start.month
|
54
54
|
|
55
|
-
|
55
|
+
ws.cell(row=row_num, column=1).value = date_start.month
|
56
56
|
|
57
|
-
ws.cell(row=row_num, column=2).value = date_start.day
|
58
57
|
|
59
|
-
|
60
58
|
|
61
|
-
|
59
|
+
ws.cell(row=row_num, column=2).value = date_start.day
|
62
60
|
|
61
|
+
|
62
|
+
|
63
|
+
ws.cell(row=row_num, column=3).value = YOUBI[date_start.weekday()]
|
64
|
+
|
63
|
-
|
65
|
+
date_start += datetime.timedelta(days=1)
|
64
66
|
|
65
67
|
|
66
68
|
|
@@ -68,7 +70,7 @@
|
|
68
70
|
|
69
71
|
wb.save(file_new)
|
70
72
|
|
71
|
-
|
73
|
+
```
|
72
74
|
|
73
75
|
|
74
76
|
|