結果 : python check if string is path or file