Get filename from path without extensionSuggest EditsPython>>> print os.path.splitext(os.path.basename("hemanth.txt"))[0] hemanth Updated less than a minute ago