mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 10:57:07 +00:00
15 lines
283 B
Python
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())
|