自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 python +pygame 实现音乐播放功能

bn_play = tk.Button(window, text='播放', font=('Arial', 12), width=10, height=1, command=play)bn_stop = tk.Button(window, text='停止', font=('Arial', 12), width=10, height=1, command=stop)filetypes=[('音乐', '*.mp3 *.ogg '), ('所有文件', '*')],

2024-01-22 02:22:29 1282

原创 python 小工具--自动识别图片内的文字

bn_open = tk.Button(window, text='选择文件', font=('Arial', 12), width=10, height=1, command=tess)filetypes=[('图片', '*.jpg *.bmp *.png'), ('所有文件', '*')],str_text = pytesseract.image_to_string(Image,lang='chi_sim') #使用简体中文解析图片。print('选择的导入文件是: ', file_path)

2024-01-17 21:59:08 507

原创 python 安装 模块 三部曲

建议选择国内镜像源:格式如下。

2024-01-17 13:23:24 411

原创 用python编程实现识别图片上的文字

text = pytesseract.image_to_string(Image,lang='chi_sim') #使用简体中文解析图片。Image = Image.open('d:\\123.png') # 选着一张图片并打开。一、安装PIL库,PIL这个库的名字官方改为了Pillow。二、安装pytesseract库。

2024-01-16 13:06:14 570 1

原创 用python学习爬虫---

语言:python3.8编程环境:Windows 7 (64位)平台:PyCharm直接上效果:import jsonimport requestsimport sysfrom tkinter import *list_notice = []def getWeather(city_code): url = 'http://t.weather.sojson.com/api/weather/city/' + str(city_code) response = re

2024-01-15 16:52:24 1472

原创 菜鸟之旅:ESP 8266开发板 + 1.8寸OLED液晶屏(驱动器IC:ST 7735)

测试平台:Arduino IDE 1.8.9硬件:esp8266 (ESP-12E) , 1.8寸 OLED (驱动器IC ST7735)

2024-01-15 15:34:53 2332 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除