結果 : python check if file is certain type