From pil import image from pillow. open (), passing the image filename.