python
anton8801
专业计算机科学与技术,2010年开始参加工作,擅长的语言C++,目前从事C++游戏服务端的开发工作
展开
-
python 打印字典
def print_dict(a_dict, level): for key, value in a_dict.items(): if isinstance(value, dict): print(' ' * (level-1), key, ':') print_dict(value, level + 1) else: print(' ' * (level-1), key, ':',.原创 2021-03-11 16:18:55 · 2402 阅读 · 0 评论 -
kivy 打包 apk 错误
打包过程中出现以下错误 AttributeError: 'Buildozer' object has no attribute 'translate_target'解决方案如下pip install --upgrade --user https://github.com/kivy/buildozer/archive/586152c.zip...原创 2019-08-10 21:30:47 · 978 阅读 · 0 评论 -
python使用tensorflow检测图片中有什么物体,有没有人
课程链接:emacs日常开发,使用python检测图片中物体转载 2019-06-18 09:48:59 · 801 阅读 · 0 评论 -
Python正则表达式指南
转载自:https://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html本文介绍了Python对于正则表达式的支持,包括正则表达式基础以及Python正则表达式标准库的完整介绍及使用示例。本文的内容不包括如何编写高效的正则表达式、如何优化正则表达式,这些主题请查看其他教程。注意:本文基于Python2.4完成;如果看到不明白的词汇请...转载 2019-06-21 21:20:15 · 181 阅读 · 0 评论 -
python使用requests爬虫抓取美女图片网站图片
import requestsfrom lxml import etreefrom urllib.request import urlretrieveurl = 'https://www.2717.com'show_num = 0for page_num in range(217): page = 'https://www.2717.com/ent/meinvtupian...原创 2019-03-24 21:39:07 · 11199 阅读 · 0 评论 -
facenet 搭建人脸识别库
转载自:https://www.cnblogs.com/gmhappy/p/9472387.html选择的方式是从百度下载明星照片照片下载,downloadImageByBaidu.py# coding=utf-8"""爬取百度图片的高清原图"""import reimport sysimport urllibimport os import requests ...转载 2019-03-12 14:56:59 · 582 阅读 · 0 评论 -
python pynput 实现键鼠录制
#-*- coding:utf-8 -*-from pynput.mouse import Listener as Mouse_Listenerfrom pynput.keyboard import Keyfrom pynput.keyboard import Listener as Keyboard_Listenerimport pickleimport threadingimpo...原创 2019-03-11 15:56:51 · 2075 阅读 · 0 评论 -
python 多线程与多进程
原文地址:https://medium.com/@nbosco/multithreading-vs-multiprocessing-in-python-c7dc88b50b5bMultithreading vs Multiprocessing in Python转载 2019-03-04 10:08:18 · 505 阅读 · 0 评论 -
python人脸识别模块 face_recognition
Project descriptionFace RecognitionRecognize and manipulate faces from Python or from the command line withthe world’s simplest face recognition library.Built usingdlib’s state-of-the-art fac...转载 2019-03-05 15:31:58 · 1154 阅读 · 0 评论 -
树莓派 使用python face_recognition做人脸识别
原文地址:https://www.pyimagesearch.com/2018/06/25/raspberry-pi-face-recognition/In last week’s blog post you learned how to perform Face recognition with Python, OpenCV, and deep learning.But as I hin...转载 2018-12-15 11:35:26 · 3957 阅读 · 3 评论 -
Selenium 学习笔记,第一个例子就报错,解决方法
from selenium import webdriverfrom selenium.webdriver.common.keys import Keysdriver = webdriver.Firefox()driver.get("http://www.python.org")assert "Python" in driver.titleelem = driver.find_ele...原创 2018-12-06 10:21:10 · 1076 阅读 · 0 评论