how to write image PIL python code example Example: PIL image example Click to copy>>> from PIL import Image >>> im = Image.open("image.jpg") >>> im.show()