結果 : how to create a pdf from python code