結果 : how to extract folder name from path in python