結果 : get file extension of string python