Pythonのお勉強 Part62 (453レス)
Pythonのお勉強 Part62 http://mevius.5ch.net/test/read.cgi/tech/1568616071/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
リロード規制
です。10分ほどで解除するので、
他のブラウザ
へ避難してください。
188: sage [] 2020/05/07(木) 23:20:38.81 ID:RMklkh4T rubyは玄人向けだから初心者は使っちゃダメだぞっ import glob for log in glob.glob('**/*.log', recursive=True): . outputs = [] . with open(log, 'r') as f: . for line in f: . if line.startswith('|') or line.find('Error') >= 0: . outputs.append(line) . if len(outputs): . print(log) . print('----------') . print(''.join(outputs), end='') . print('----------') http://mevius.5ch.net/test/read.cgi/tech/1568616071/188
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.024s