Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
288 B
2
Indexable
# 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:])