6 lines
196 B
Python
6 lines
196 B
Python
from os import path as os_path
|
|
from PIL.Image import open as Image_open
|
|
|
|
def getImageFile(file_name):
|
|
img = Image_open(os_path.join(os_path.dirname(__file__), "img", file_name))
|
|
return img |