wexpect-venv/dump_logs.py
2020-02-01 21:34:34 +01:00

15 lines
283 B
Python

import os
import glob
read_files = glob.glob(".wlog/*.log")
for f in read_files:
with open(f, "r") as infile:
print(infile.read())
read_files = glob.glob("tests/.wlog/*.log")
for f in read_files:
with open(f, "rb") as infile:
print(infile.read())