結果 : python get filetype from string