Python零基础学习笔记(三十四)—— 语音
import win32com.client
import time
dehua = win32com.client.Dispatch("SAPI.SPVOICE")
dehua.Speak("Hello")
while 1:
dehua.Speak("Hi")
time.sleep(5)
还有语音模块,后面慢慢补
import win32com.client
import time
dehua = win32com.client.Dispatch("SAPI.SPVOICE")
dehua.Speak("Hello")
while 1:
dehua.Speak("Hi")
time.sleep(5)
还有语音模块,后面慢慢补
一、定义 1.面向对象编程(OOP) 面向对象编程(Object-oriented Programming,简称OOP)是一种编程范例,它提供了一种结构化程序的方法
目录: 一、函数: 1.内置函数 2.定义函数 二、函数参数: 1.必选参数 2.默认参数 3.可变参数/任意参数 4.关键字参数 三、re
零基础带你学习MySQL—数学函数(十四) ![在这里插入图片描述][watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_
1. 常见编码有:ANSI 、GBK 、GB2312、 UTF-8、 GB18030 、UNICODE;一般用UTF-8,<meta charset="UTF-8" /> 2
一定要导入math包,不然后面会报错 今日学习部分及执行结果如下图 import math abs() 返回数的绝对值 a1 = -10
matplotib 是一个强大的Python绘图和数据可视化工具包。 安装方法 pip install matplotlib 引用方法 import matpl
import win32com.client import time dehua = win32com.client.Dispatch("SA
博客编码:180915 格式化 format() >>> "{0} is {1}.{2}".format("This", "python",
还没有评论,来说两句吧...