a = ['home/robert/Documents/Workspace/datafile.xlsx',
    'home/robert/Documents/Workspace/datafile2.xls',
    'home/robert/Documents/Workspace/datafile3.xlsx']
How to get rid of extenstions from file basename using python