結果 : how to write a pdf in python