使用pyinstxtractor.py 解包
pyinstxtractor.py <exe文件名>
import urllibimport urllib2url = "http://xxx.com?xx=xx"req = urllib2.Request(url)print reqres_data = urllib2.urlopen(req)res = res_data.read()print res
import urllib
import urllib2
url = "http://xxx.com?xx=xx"
req = urllib2.Request(url)
print req
res_data = urllib2.urlopen(req)
res = res_data.read()
print res
py文件顶部声明
# -*- coding: UTF-8 -*-
python 以退格判断代码块