Get last folder of a pathSuggest EditsPython>>> os.path.basename(os.path.normpath('/folderA/folderB/folderC/folderD/')) 'folderD' Copy Page