05 2019 档案
摘要:import mathimport randomimport codecsimport requestsimport jsonid=1headers='''accept: */*accept-encoding: gzip, deflate, braccept-language: zh-CN,zh;q
阅读全文
摘要:import math import random from Crypto.Cipher import AES from Crypto.Cipher import AES from binascii import b2a_hex, a2b_hex import codecs import requests import base64 import rsa class downmusic(ob...
阅读全文
摘要:获取文件后缀os.path.splitext(file)[-1] 整型转字符窜>>> print str(10000L)10000 json.dumps是将dict转化成str格式,json.loads是将str转化成dict格式。 #生成一个字典d = {'name':{},'age':{},'s
阅读全文
摘要:strs=''' content-type: application/x-www-form-urlencoded cookie: _iuqxldmzr_=32; _ntes_nnid=cb19ce2c34b69416ecbc14b408135460,1552790636492; _ntes_nuid=cb19ce2c34b69416ecbc14b408135460; WM...
阅读全文
摘要:import requestsfrom bs4 import BeautifulSoupimport reimport osimport jsonfrom urllib import parseheaders='''Accept-Ranges: bytesAccess-Control-Allow-O
阅读全文