Python BufferedReader

import io
    
path = "enter the path here" 

with io.open(path, "r") as f:
    # Read 5 bytes
    print(f.read(5))
Minecraftian14