This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
# 書き込み用ファイルオープン | |
wf = open('mult99-1.csv', 'w') | |
writer = csv.writer(wf, lineterminator='\n') | |
# 例として 1x1 ~ 3x3 までを想定 | |
for i in range(1, 4): | |
for j in range(1, 4): | |
file = '{0}x{1}.dat'.format(i, j) |