f = open('data.txt') # 'r' is the default processing modebytes = f.read( ) # Read entire file into a stringprint bytes print bytes.split( ) # File content is always a string