import csv   # import CSV

with open('qwerty.txt') as file:        # open qwerty.txt with file filehandler
    
    read = csv.reader(file, delimiter=',')    # reads the text file 
    counter = 0                               # Counter value
    
    for i in read:       # i is the iterator 
        
        if counter == 0:
            print(f'{" | ".join(i)}')     # f'{",".join(i)}' formats values one by one with join ,
            counter += 1
            
        else:
            print(f'{i[0]} | {i[1]} | {i[2]} ')
            counter += 1
            
    print(f'Lines we parsed through : {counter}')  # {} curly braces should enclose variable of interest
