On Jan 19, 2017 4:36 PM, "ad^2" <adsquaired at gmail.com> wrote: Hello all, I'm looking for a cleaner more elegant way to achieve stripping out a file name from a list which contains a path and file extension. Would os.path.split help here? https://docs.python.org/3.6/library/os.path.html#os.path.split