Files
fixminer_source/experiments/log_processor.py
T
Azalea (on HyDEV-Daisy) 2d0a0cecf4 [M] Mode experiment scripts
2022-06-07 10:25:02 -04:00

16 lines
488 B
Python

import re
if __name__ == '__main__':
files= {}
with open("test.log") as f:
for string in f:
string = re.search("(?<=processing )(.*?\.java)", string)
if (string != None):
if files.keys().__contains__(string.group(0)) :
files[string.group(0)] = 2
else:
files[string.group(0)] = 1
for file in files.keys():
if(files[file]) == 1:
print(file)