自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 windows操作系统下的mysql卸载与安装

windows操作系统下重新安装mysql

2023-01-11 13:58:22 181 1

原创 leaflet动态刷新Icon不闪

leaflet动态刷新Icon

2022-11-07 15:38:06 524 1

原创 python语音转换文本

安装PocketSphinx 开源的api 用于语音转换文本pip install PocketSphinxpip install SpeechRecognition如果安装PocketSphinx 报错:Complete output (6 lines):running bdist_wheelrunning build_extbuilding ‘sphinxbase._sphinx...

2020-01-16 11:53:41 2955

原创 python使用SpeechLib完成文本转换为语音

使用speechLib读取文本转成语音文件存储首先导入: pip install comtypes代码如下:from comtypes.client import CreateObjectengine=CreateObject(“SAPI.SpVoice”);stream=CreateObject(‘SAPI.SpFileStream’)from comtypes.gen import...

2020-01-15 14:52:25 3459 2

转载 python 语音播报txt文件

首先导入 pip install pyttsx3pyttsx 是一个跨平台将文字转成语音的第三方库,它对操作系统内置语言引擎实现了包装#encoding='utf-8’不转码会报错,txt可以另存保存的格式选UTF-8#python UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xac in #position 97: illegal...

2020-01-10 14:50:37 1022

原创 python初学-杂记

from functools import reduce # py3#用reduce取数组中最大值f=lambda a,b:a if(a>b) else breduce(f,[2,9,3,400,5])#用reduce做数组值累加reduce(lambda x,y:x+y,[1, 2, 3, 4, 5])冒泡排序list=[1,2,8,4,5,6]y=len(list)...

2020-01-10 10:43:48 137

原创 python 打印九九乘法表

import mathimport stringouttr="";for i in range(1,10):outtr=""for j in range(i):j=j+1outtr=outtr+str(i)+""+str(j)+"="+str(ij) +" "print(outtr)print(“that is over”)outtr=outtr+str(i)+""+str(...

2020-01-10 10:17:09 202

原创 python初学---分次写文件

text=’’’frist linesecond linethrid lineendrrrrrrr‘’’font=open(‘tmp1.txt’,‘w’)size =len(text)#初始位置offset= 0#增量chunk=100while offset<size:font.write(book[offset:offset+chunk])#初始位置加增量...

2020-01-10 10:01:17 341

Codematic c#代码自动生成器

c#代码自动生成器 可选三层结构 可连接各种数据库

2015-06-17

空空如也

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

TA关注的人

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