pillow library python code example

Example 1: unimport library python

# Import your library
import time

# Remove your library (change as needed)
# You'll lose access to it
# Python will still keep a copy around in the cache though
del time
# If you want to reload it (> Python 3.4):
import importlib, time
importlib.reload(time)

Example 2: pillow python

pip install pillow

Example 3: python image library

from PIL import image

img = image.open('C:\Users\you\path\to\your\image.jpg')
pix = img.getpixel((100,100))
img.putpixel((0,0),(0,0,255))