Cómo almacenar el archivo .png en la variable python

from PIL import Image                                                                                
>>> img = Image.open('test.png')
>>> img.show() 
multiverse coder'