摘要: pic1 pic2 code import requests header={ "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", "User-Agent": "Mozilla/5.0 (Macintosh; Int 阅读全文
posted @ 2020-12-03 15:03 anobscureretreat 阅读(1353) 评论(0) 推荐(0)
摘要: code a={ "breaker": [{"body":"{\"request_id\":\"403\",\"code\":0,\"type\":0,\"msg\":\"success\",\"data\":{\"banner\":[{\"id\":245,\"name\":\"苹果手机专区\", 阅读全文
posted @ 2020-12-03 14:03 anobscureretreat 阅读(807) 评论(0) 推荐(0)
摘要: code import configparser config = configparser.ConfigParser() file = 'config.ini' #添加section config.read(file) config.add_section('login') config.add_ 阅读全文
posted @ 2020-12-03 14:02 anobscureretreat 阅读(181) 评论(0) 推荐(0)
摘要: code macname@MacdeMacBook-Pro Desktop % macname@MacdeMacBook-Pro Desktop % cat test.py import logging logging.basicConfig(level=logging.INFO, filename 阅读全文
posted @ 2020-12-03 14:00 anobscureretreat 阅读(127) 评论(0) 推荐(0)
摘要: code macname@MacdeMacBook-Pro ~ % who -T macname - console Nov 23 09:43 macname + ttys002 Dec 2 09:47 macname@MacdeMacBook-Pro ~ % 阅读全文
posted @ 2020-12-03 13:59 anobscureretreat 阅读(874) 评论(0) 推荐(0)