上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: 1 from PyQt5.QtWidgets import * 2 from PyQt5 import QtCore,QtWidgets 3 from PyQt5.QtGui import * 4 5 import sys 6 class A(QWidget): 7 def __init__(self): 8 super(A,self).__init_... 阅读全文
posted @ 2017-11-26 16:52 ayew 阅读(8639) 评论(4) 推荐(1) 编辑
摘要: 《Python Cookbook》3rd Edition http://python3-cookbook.readthedocs.io/zh_CN/latest/copyright.html 书名: 《Python Cookbook》3rd Edition 作者: David Beazley, Br 阅读全文
posted @ 2017-11-26 16:29 ayew 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 踩了很多坑,浪费了一下午时间,在此记录一下。 pip install tensorflow-gpu 然后下载安装cuda8.0 https://developer.nvidia.com/cuda-downloads 注意:只能用8.0 我用9.0下载了好久,程序提示我装8.0 然后:下载cudnn 阅读全文
posted @ 2017-11-25 20:37 ayew 阅读(346) 评论(0) 推荐(0) 编辑
摘要: #此段代码实现将文件夹下的一级目录文件改名并移动目录 #list = os.listdir(Datadir) #列出文件夹下所有的目录与文件 #for i in range(0,len(list)): # path = os.path.join(Datadir,list[i]) # list2=os.listdir(path) # for j in range(0,len(l... 阅读全文
posted @ 2017-11-25 13:28 ayew 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 获取框里面的内容,有一个BUG,搞了好久才搞定。 阅读全文
posted @ 2017-11-25 13:26 ayew 阅读(20956) 评论(0) 推荐(1) 编辑
摘要: # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import * class FirstWindow(QWidget): close_signal = pyqtSignal() def __init__(self, parent=None): ... 阅读全文
posted @ 2017-11-25 13:20 ayew 阅读(8792) 评论(0) 推荐(0) 编辑
摘要: #使用face_recognition实现从图片中选中人数并分别输出txtimport face_recognition import cv2 import os fin = 'D:\\Users\\a\\Pictures\\test_pho' # 读取图片并识别人脸 for file in os. 阅读全文
posted @ 2017-11-25 13:18 ayew 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: 最近在学习Pyqt5做界面,找到了一个非常棒的博主的学习系列 在此记录下来: http://blog.csdn.net/zhulove86/article/category/6381941 阅读全文
posted @ 2017-11-25 10:10 ayew 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 转载 熟悉常用的窗口组件: 1 按钮类 QPushButton 普通按钮 QToolButton 工具按钮:通常在工具栏使用 QRadioButton 单选框 QCheckBox 复选框 QCommanLinkButton Vista风格的命令链接按钮 QDialogButtonBox 对话框按钮组 阅读全文
posted @ 2017-11-25 10:07 ayew 阅读(1639) 评论(0) 推荐(0) 编辑
摘要: 准备文件Anaconda: https://www.anaconda.com/download/ 我下载的时最新的 64-Bit (x86) Installer (524 MB) 然后在下载的anaconda 安装包的目录下进行安装 bash Anaconda3-5.0.0.1-Linux-x86_ 阅读全文
posted @ 2017-11-07 12:30 ayew 阅读(6564) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页