随笔分类 -  python3

摘要:问题:当需要将数字和字符串相加 时,会报如下 解决: # 1、数字转字符串 a = 12 b = '13' # 1.1 字符串格式化运算符 # c = '%d'%(a) + b # 1.2 使用 str() 函数 # c = str(a) + b # 1.3 字符串格式化函数 .format() c 阅读全文
posted @ 2022-08-23 13:47 王希有 阅读(1320) 评论(0) 推荐(0)
摘要:****** 先上结果图 ****** (之前是 2.7.5 版本,日志太长没法找到之前的版本截图了) ****** 先上结果图 ****** 1、下载安装一些依赖包 yum install -y wget lrzsz net-tools zlib-devel bzip2-devel openssl 阅读全文
posted @ 2022-08-23 11:05 王希有 阅读(1759) 评论(0) 推荐(0)
摘要:1、安装 pip install pytesseract pytesseract 的使用是 基于 后端Tesseract的,故需要安装 Tesseract 2、安装 Tesseract 官方网站:https://github.com/tesseract-ocr/tesseract 官方文档:http 阅读全文
posted @ 2022-04-17 14:10 王希有 阅读(599) 评论(0) 推荐(0)