navigation
Python

How to show an image using path python PIL?

| | python
In this tutorial I will show you how to display an image using path with python PIL.
Install Pillow:
pip install pillow
CODE:
from PIL import Image
image = Image.open('images/photo_1.jpg')
image.show()

Result:
show image in python