結果 : python check if string is folder or file