def file_read(filename):
with open(filename, 'r') as f:
return f.read()
def ascii_file(files):
return [ord(c) for c in file_read(files)]
if __name__ == '__main__':
file = r"C:\Users\tyuti\IdeaProjects\untitled\Model\Data\1\1 - A Game of Thrones.txt"
res = ascii_file(file)[0:10]
print(res)