摘要:        
代码如下: import jieba jieba.setLogLevel(jieba.logging.INFO) # 不打印jieba自带的记录 sentence = input("输入句子:") seg_list = jieba.cut(sentence) print("输出句子:", "/".j    阅读全文
posted @ 2022-10-29 14:15
slowlydance2me
阅读(63)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在安装jieba第三方库的时候,Python报错pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.    阅读全文
posted @ 2022-10-29 14:04
slowlydance2me
阅读(257)
评论(0)
推荐(0)
        
            
        
        
摘要:        
常用数据结构 list[] 创建: 1.通过中括号括起已知的元素创建list mylist = ['orange', 'apple', 1,2,3.14]; 2.通过中括号创建空list,然后用append()追加动态元素 mylist = []; mylist.append('orange');     阅读全文
posted @ 2022-10-29 10:29
slowlydance2me
阅读(33)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号