#!/bin/python3 import re import sys from pprint import pprint input_f = sys.argv[1] d =[] with open(input_f) as file: for line in file: pprint(d)