python, post script, job is finished