POWER_INFO.XML=(1%2C5)&time_stamp=Fri%20May%2012%202017%2014%3A07%3A18%20GMT%2B0800%20(%E4%B8%AD%E5%9B%BD%E6%A0%87%E5%87%86%E6%97%B6%E9%97%B4)
import urllib import requests data = '(1,5)&time_stamp=Fri May 12 2017 14:07:18 GMT+0800 (中国标准时间)' quote_data = urllib.quote(data, safe='&()') post_data= "POWER_INFO.XML="+quote_data requests.post(url, data=post_data)