Python:  1. print()函数:打印字符串  2. raw_input()函数:从用户键盘捕获字符  3. len()函数:计算字符长度  4. format(12.3654,’6.2f’/’0.3%’)函数:实现格式化输出  5. type()函数:查询对象的类型  6. int()函数、float()函数、str()函数等:类型的转化函数  7. id()函数:获取对象的内存地址            
                
         
            
            
            
                今天看了函数、模块、数据结构,整理一下。 函数:1、函数的局部变量,和C差不多,可以与函数外变量重名。2、在函数中若要用全局变量,则加global来声明。3、返回值默认为None。4、函数参数可以是默认的,默认的参数必须在后面;也可以再调用时不按顺序地指定参数的值。  模块:1、使用import mymodule导入mymodul            
                
         
            
            
            
                俨然已经过去的那些岁月,360天有余。从来不曾停下脚步,不管是时钟的时针、分针、秒针,还是我那时而匆匆,时而迟疑的步伐。感谢我依然没有停下带有使命感的前进步伐,同时也遗憾有些事情依旧无法面对,有些纠缠依旧无法了结。            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2016-01-10 11:19:28
                            
                                751阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            # 使用Python朗读文本:Say
在当今这个信息快速传播的时代,音频内容的消费方式日益受到欢迎。通过朗读文本,我们不仅能提高信息的可达性,还能让信息传递更加生动。Python是一个强大的编程语言,其中有许多库可以帮助我们实现文本到语音(Text-to-Speech, TTS)功能。本文将介绍如何使用Python进行文本朗读,并给出相应的代码示例。
## 文本到语音(TTS)概述
文本到语            
                
         
            
            
            
            如题!            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2009-11-10 17:18:20
                            
                                415阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            HI!! 九海交易 www.jiuhai-369.com  贵金属交易资讯尽在其中!            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                            精选
                                                        
                            2014-04-03 16:21:15
                            
                                518阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2014-11-18 10:18:00
                            
                                71阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...
1 is read off as "one 1"
 or 11.11 is read off as "two 1s"
 or 21.            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2015-10-13 17:43:00
                            
                                64阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            问题:链接 The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-07-25 12:04:00
                            
                                45阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            第一个博客,之前乌七八糟用过豆瓣。没写什么东西~倒是QQ空间还点更新。下            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-08-04 17:23:47
                            
                                56阅读
                            
                                                                             
                 
                
                             
         
            
            
            
                         
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2010-12-25 17:14:49
                            
                                252阅读
                            
                                                        
                                点赞
                            
                                                                             
                 
                
                             
         
            
            
            
            The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is read off as "two 1s" or 21.21 is read off as "one 2, then            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                            精选
                                                        
                            2015-06-15 15:57:21
                            
                                694阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2013-10-12 12:51:00
                            
                                73阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            题目大意1 is read off as “one 1” or 11. 11 is read off as “two 1s” or 21. 21 is read off as “one 2, then one 1” or 1211.解题思路纯考察思路题,遍历上层代码class Solution(object):    def count(self,s):        result = ''            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-06-16 19:43:51
                            
                                140阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-08-07 11:41:11
                            
                                114阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Let’s call the string beautiful if it does not contain a substring of length at least 2, which is a p            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-08-04 23:21:35
                            
                                55阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            体验完XML版的BDB后,得更往前整点了。官方的文档,看得我有些头大,一个上午过去了,自己都绕晕在里面了。还是找本书先看看吧。专门讲Berkeley DB的书还真不多,我就只找到两本:Apress.The.Definitive.Guide.to.Berkeley.DB.XML.Aug.2006,Apress.The.Berkeley.DB.Book.Oct.2007。  大概翻了一下,觉得先读07            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2011-02-11 15:50:09
                            
                                1252阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            称号: The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, …1 is read off as “one 1” or 11. 11 ...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2015-10-15 17:37:00
                            
                                36阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
              
 
  See I never thought that I could walk through fire
 
  I never thought that I could take the burn
 
  I never had the strength to take it higher
 
  Until I reached the point of no return
 
  A            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-03-03 13:56:28
                            
                                72阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            跨年将至,就要告别你的2017了.在过去的一年里,相信大家都有许多难忘的故事,就像最近流行的"我的十八岁"一样,在我们的记忆里,留下痕迹,且不曾消失.时间总是停不下来,也许有细心的小伙伴发现了文章的作者变成了"Weyoung",当然你们的"圣骑士Wind"君就要回来了.在过去的三个多月里,我总共代笔20篇,其中包含14篇Weekly,1篇技术分享,3张节日祝福,以及2篇通知.希望在新的一年里,"圣            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-06-02 16:01:10
                            
                                115阅读