$ file my-picture.png my-picture.png: PNG image data, 256 x 256, 8-bit/color RGBA, non-interlaced
Here is what the above code is Doing:
1. We import the Image class from the PIL module.
2. We create an Image object and assign it to catIm.
3. We call the Image object’s open() method and pass it the file path to the image we want to open.
4. We call the Image object’s show() method to display the image.