from skimage import io
img = io.imread(file_path)
#opening image with Pillow/Pil
from PIL import Image
image = Image.open(r"filepath")
image.show()
file = open("path_yourFile" , "r") # for read line
file = open("path_yourFile" , "rb") # for read byte
content = file.read()