09 2024 档案

摘要:SoundPlayer 第一种方式,就是使用SoundPlayer。 优点:平台自带,使用非常简单。 缺点:只支持WAV音频格式,不支持MP3格式。 示例代码: SoundPlayer player = new SoundPlayer("BLOW.WAV"); player.Play(); NAud 阅读全文
posted @ 2024-09-29 11:04 wzwyc 阅读(237) 评论(0) 推荐(0) 编辑
摘要:有时候需要在局域网的电脑之间传送一些东西,或者在虚拟机之间传送一些东西。 如果电脑上有安装了Python的话,其实非常方便,可以临时搭建一个HTTP服务器传送东西,一句命令就搞定了。 而且这东西本身是Python内置的功能。 1.基本方式 Python中自带了简单的服务器程序,能较容易地打开服务。 阅读全文
posted @ 2024-09-29 10:36 wzwyc 阅读(1725) 评论(0) 推荐(0) 编辑
摘要:代码: using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.IO.Pipes; using System.Reflection; using System 阅读全文
posted @ 2024-09-27 08:07 wzwyc 阅读(8) 评论(0) 推荐(0) 编辑
摘要:修改代码的字体大小 菜单 Windows - Preferences:General - Appearance - Colors and Fonts, 找到Basic下的Text Font,修改字体和大小 Eclipse 修改所有文件默认编码为UTF-8 依次点击windows -> Prefere 阅读全文
posted @ 2024-09-24 15:09 wzwyc 阅读(3) 评论(0) 推荐(0) 编辑
摘要:安装 Install-Package OpenNLP Install-Package System.Runtime.Caching 示例代码 using OpenNLP.Tools.SentenceDetect; var paragraph = @"To test easily the variou 阅读全文
posted @ 2024-09-12 08:17 wzwyc 阅读(22) 评论(0) 推荐(0) 编辑