with open('test') as f: data = f.read() with open('test') as f: data = f.read()