python
野生研究员
这个作者很懒,什么都没留下…
展开
-
python Class 类的交互随笔
class human: '''人类''' def __init__(self, name, age, happyVal=0, moneyVal=0, owned=[], woman=True, Belover=[], Annoying=[]) -> None: '''人类初始化''' if woman: self.gender = 'woman' else: self.gender =.原创 2021-07-03 15:28:19 · 144 阅读 · 0 评论 -
批量识别发票二维码图片自动下载pdf
# -*- coding:utf-8 -*-import osfrom pyzbar import pyzbarfrom PIL import Imageimport requestsfrom io import BytesIOimport timeimport sysdef get_ewm(img_adds): """ 读取二维码的内容: img_adds:二维码地址(可以是网址也可是本地地址 """ if os.path.isfile(img_adds): .原创 2021-06-27 00:48:28 · 3070 阅读 · 0 评论