Untitled
# read file with open('/Users/kcb/PycharmProjects/scout-processing/BOS/terence_teacher_sostituzioni.txt', 'r') as file: filedata_lines = file.readlines() for line in filedata_lines: splitting = line.split() if len(splitting) > 3: print(splitting[-1:])