This file contains hidden or 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 glob | |
if __name__ == '__main__': | |
paths = glob.glob('./*/data/*.csv') | |
cnt = 0 | |
for path in paths: | |
with open(path, 'r') as f: | |
cnt += reduce(lambda x,y: x+1, f, 0) | |
print cnt |
This file contains hidden or 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
;sample_destructive_methods | |
; | |
;名前に「!」が付いているメソッドは破壊的メソッド | |
#module destm a, b | |
#modfunc 更新! int x, int y | |
a = x | |
b = y | |
return | |
#modfunc 表示 |
NewerOlder