原文链接作者 # -*- coding: utf-8 -*- import pyttsx3 engine = pyttsx3.init() with open("all.txt",'r',encoding='utf-8') as f: while 1: line = f.readline() print(line, end = '') engine.say(line) engine.runAndWait() import pyttsx3 with open('all.txt','r
MyXLS是一个导出Excel的好工具,速度快,体积小,而且也不用担心使用Com生成Excel时资源释放的问题了.但是作者提供的代码没有设置行高 要实现这个效果,首先需要修改两个文件: 1.Row.cs 添加行高的属性. private ushort _rowHeight; /// <summary> /// Gets the row index of this Row object. /// </summary> public ushort RowHeight { get {