Category - python

2019-06-20 19:15:55    175    0    0

使用pyinstxtractor.py 解包

  1. pyinstxtractor.py <exe文件名>
2017-07-13 23:06:21    199    0    0
  1. import urllib
  2. import urllib2
  3. url = "http://xxx.com?xx=xx"
  4. req = urllib2.Request(url)
  5. print req
  6. res_data = urllib2.urlopen(req)
  7. res = res_data.read()
  8. print res
2017-07-13 23:06:21    120    0    0

py文件顶部声明

  1. # -*- coding: UTF-8 -*-
2017-07-13 23:06:21    122    0    0

python 以退格判断代码块