回答編集履歴
2
コメントを受けての追記
test
CHANGED
@@ -9,3 +9,35 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
`for e in time10:`と書きたくなった理由は何なのでしょうね?
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
#追記
|
16
|
+
|
17
|
+
```Python
|
18
|
+
|
19
|
+
now = dt.now()
|
20
|
+
|
21
|
+
time10 = []
|
22
|
+
|
23
|
+
for i in range(1,10):
|
24
|
+
|
25
|
+
time10.append((now + timedelta(minutes=i)).strftime('item%Y%m%d%H%M.csv'))
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
print(time10)
|
30
|
+
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
```Python
|
36
|
+
|
37
|
+
now = dt.now()
|
38
|
+
|
39
|
+
time10 = [(now + timedelta(minutes=i)).strftime('item%Y%m%d%H%M.csv') for i in range(1,10)]
|
40
|
+
|
41
|
+
print(time10)
|
42
|
+
|
43
|
+
```
|
1
文字欠け??
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
単に文字列に入れるだけです。
|
2
2
|
|
3
|
-
`Python
|
3
|
+
```Python
|
4
4
|
|
5
5
|
print(time10.strftime('item%Y%m%d%H%M.csv'))
|
6
6
|
|