Apr-22-2019, 08:20 PM
(Apr-22-2019, 08:04 PM)SheeppOSU Wrote: I don't exactly get the question, but if you're asking but with a lot of pictures you could just do this -
import os from pathlib import Path d = Path(__file__).parent x = 0 picList = ['file.png', 'file.png', 'file.png', 'file.png'] for i in picList: picList[x] = os.path.join(d, 'Pic Folder', i) x += 1Hope i didn't make any mistakes on there
Oh! I just remembered - If they are in the same directory as the file you just have to put the name of the picture
Based on this picture you may get an ideia