format python post with hightlight

Signed-off-by: Qu Xiaofeng <quxiaofeng.at.polyu@gmail.com>