結果 : python check if path is folder or file