質問編集履歴
2
誤字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -68,7 +68,7 @@
|
|
68
68
|
print(seireki_list) #ここでのprint()は【出力結果1】が返ってきます
|
69
69
|
|
70
70
|
|
71
|
-
with open('
|
71
|
+
with open('event_seireki.txt','wt')as f:
|
72
72
|
for ele in a:
|
73
73
|
f.write(ele)
|
74
74
|
|
1
誤字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
element = element.rstrip()
|
58
58
|
if(element=='開催月'):
|
59
59
|
start_list = data[i+1].rstrip() #開催月の抜き出し
|
60
|
-
start_list=
|
60
|
+
start_list= start_list.replace(' ','') #空白を削除
|
61
61
|
start_seireki = re.findall(r'.+年', toshi_list) #開催月の開催年を西暦で抜き取る
|
62
62
|
start_month = re.findall(r'[0-9]+月', toshi_list) #開催月の開催月を抜き取る
|
63
63
|
a = []
|