码迷,mamicode.com
首页 >  
搜索关键字:python3 configparser    ( 13022个结果
opencv使用——玉米粒识别和优劣判断
运行环境:python3.6.9 opencv3.4.10 import cv2 import numpy as np font=cv2.FONT_HERSHEY_COMPLEX kernel = np.ones((7,7),np.uint8) img=cv2.imread('corn.jpg',1 ...
分类:其他好文   时间:2020-07-04 22:25:33    阅读次数:72
Python简易 爬虫+图形化界面
所需要库:thinter,python3自带 代码: from tkinter import * import re import requests def input1(): link = str(inp1.get()) headers = {'user-agent': 'Mozilla/5.0 ...
分类:编程语言   时间:2020-07-04 21:01:20    阅读次数:124
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
解决办法 Python 3 sudo apt-get install python3 python-dev python3-dev \ build-essential libssl-dev libffi-dev \ libxml2-dev libxslt1-dev zlib1g-dev \ pyth ...
分类:系统相关   时间:2020-07-04 17:12:33    阅读次数:88
在执行 pip install 时遇到错误:python setup.py egg_info Check the logs for full command output
在执行 pip install 时遇到错误:ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ...
分类:编程语言   时间:2020-07-04 13:51:56    阅读次数:525
Python3.9 beta2版本发布了,看看这7个新的PEP都是什么
1、字符串操作 有时最简单(表明上的)的事情最困难,或者至少会引起巨大的讨论。其中大部分的争议是关于命名(还能是什么?),但是给标准字符串对象添加函数,来删除前缀和后缀,这种想法是毫无争议的。 是否可以将那些词缀(前缀和后缀的统称)指定为序列,以便在一次调用中处理多个词缀,这一点尚不明确,最后它被从 ...
分类:编程语言   时间:2020-07-04 13:46:10    阅读次数:115
Linux傻瓜式七步完美安装Python3.7
1 安装依赖包 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-d ...
分类:编程语言   时间:2020-07-03 23:37:28    阅读次数:95
Kali2020 在使用pwngdb时,gdbscript无法加载的问题。
vi /home/kali/.local/lib/python3.8/site-packages/pwnlib/util/misc.py # 在Launching a new terminal 这一行后面添加 argv = argv[:-1] + [x.strip('"') for x in arg ...
分类:数据库   时间:2020-07-03 23:01:36    阅读次数:139
了解bytes、str与unicode的区别
一、Python2与Python3 Python2与Python3不同。这里主要介绍Python3。 Python3中有两种表示字符序列的类型:bytes和str。 bytes的实例包含原始的8位值;str的实例包含Unicode。 二、编码与解码 decode的作用是将其他编码的字符串解码成uni ...
分类:其他好文   时间:2020-07-03 21:14:20    阅读次数:56
jupyter的基本快捷键
- jupyter - jupyter就是anaconda提供的一个基于浏览器的可视化开发工具- jupyter的基本使用 - 启动:在终端中录入:jupyter notebook的指令,按下回车 - 新建: - python3:anaconda中的一个源文件 - cell有两种模式: - code ...
分类:其他好文   时间:2020-07-03 17:36:18    阅读次数:56
python3继承中发生的显式覆盖
隐式调用函数有一个问题,有时候需要让子类里的函数有不同的行为,这种情况下隐式继承是做不到的。这时你需要覆盖子类中的函数,让它实现新功能,只需在子类中定义一个同名函数就可以了。 ...
分类:编程语言   时间:2020-07-03 17:19:52    阅读次数:68
13022条   上一页 1 ... 45 46 47 48 49 ... 1303 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!