basePath.append(name)
basePath = os.path.sep.join(basePath)
images = [f for f in os.listdir(basePath) if os.path.splitext(f)[1] == '.png']
basePath.append(name)
basePath = os.path.sep.join(basePath)
images = [f for f in os.listdir(basePath) if os.path.splitext(f)[1] == '.png']