結果 : create a pdf from python code