animate('Earth-like worlds', stell_colors, plot_list, label_choice, df, df_special_earth) folder = 'images/' # PIL supported image types img_types = (".png", ".jpg", "jpeg", ".tiff", ".bmp") # get list of files in folder flist0 = os.listdir(folder) # create sub list of image files (no sub folders, no wrong file types) fnames = [ f for f in flist0 if os.path.isfile(os.path.join(folder, f)) and f.lower().endswith(img_types) ] option_list = [] db_name = 'C:/Users/sean/Documents/GitHub/traveller-universe-creator/sector_db/example-66.db' list_images = [['mask', 'Completely Stellar Masked'], ['ocean', 'Ocean or Earth-like World'], ['exotic', 'Exotic Atmosphire'], ['corrosive', 'Corrosive Atmosphire'], ['vacuum', 'Vacuum World'], ['asteroid', 'Object is Planetary Belt'], ['light', 'Low Gravity World'], ['heavy', 'High Gravity World'], ['hot', 'Unhinhabitable Heat'], ['cold', 'Uninhabitable Cold'], ['hipop',