# Pastebin Zj6GOSC8 def process(v): o = parse(v) del v rest_of_program() def main(): with open(fname) as f: process(f.read())