結果 : python pass file descriptor to function