how can i strip the file extension from a list full of filenames?,lst.append(os.path.splitext(x)[0])