上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: #!/usr/bin/python3 # 百度人脸对比 & 人脸检测api-v3 import sys, tkinter.messagebox, ast import ssl, json,requests import pdb import base64 from urllib import request, parse from aip import AipFace ssl._create... 阅读全文
posted @ 2019-08-01 16:58 piwenfei 阅读(2547) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-07-31 15:24 piwenfei 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-07-31 15:11 piwenfei 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-07-16 17:35 piwenfei 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-07-16 17:09 piwenfei 阅读(4) 评论(0) 推荐(0)
摘要: 转载请注明出处:https://www.cnblogs.com/shapeL/p/9037670.html 由上篇文章(python3+requests:get/post请求)涉及到的json.dumps()扩展 1.json.dumps()用于将dict类型的数据转成str 备注:文件路径前面加上 阅读全文
posted @ 2019-07-16 15:12 piwenfei 阅读(3700) 评论(0) 推荐(0)
摘要: import os,time,threading from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome() driver.get('http://www.baidu.com') print(driver.title) assert... 阅读全文
posted @ 2019-07-15 14:37 piwenfei 阅读(1383) 评论(0) 推荐(0)
摘要: 1.参考 Py 坑之 CERTIFICATE_VERIFY_FAILED Python 升级到 2.7.9 之后引入了一个新特性,当你urllib.urlopen一个 https 的时候,会验证一次 SSL 证书,当目标网站使用的是自签名的证书时就会爆出一个 urllib2.URLError: <u 阅读全文
posted @ 2019-07-15 12:03 piwenfei 阅读(908) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-07-12 14:51 piwenfei 阅读(4) 评论(0) 推荐(0)
摘要: 程序能一次写完并正常运行的概率很小,基本不超过1%。总会有各种各样的bug需要修正。有的bug很简单,看看错误信息就知道,有的bug很复杂,我们需要知道出错时,哪些变量的值是正确的,哪些变量的值是错误的,因此,需要一整套调试程序的手段来修复bug。 第一种方法简单直接粗暴有效,就是用print把可能 阅读全文
posted @ 2019-07-12 13:56 piwenfei 阅读(5661) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页