結果 : how to limit execution time of a function call in python