arquivo de leitura python com classe

class Main(object):
    def __init__(self, thing1, thing2):
        self.thing1 = thing1
        self.thing2 = thing2
with open('Your file') as f:
    data = [i.strip().split() for i in f.readlines()]
szabioe