add python script, support baidu online input method