随笔分类 - Python实践-->乃成功之母
摘要:```python
import turtle as t
"""
@author RansySun
@create 2019-07-27-19:58
"""
t.title("太极")
# 抬笔
t.penup()
t.goto(0, -50)
t.pendown() # 阴中有阳
t.begin_fill()
t.fillcolor('black')
t.circle(150, 180)
t....
阅读全文
摘要:一、经典段子 python import re import requests """ @author RansySun @create 2019 07 22 9:16 """ response = requests.get("https://ishuo.cn/") data = response.
阅读全文
摘要:一、爬取哈哈笑话 目标: 实现文档爬取 实现词云 实现词频分析 python import re import requests import wordcloud from imageio import imread import jieba """ @author RansySun @create
阅读全文
摘要:python之爬虫 必应壁纸 python import re import requests """ @author RansySun @create 2019 07 19 20:26 """ """ https://bing.ioliu.cn/?p=1" https://bing.ioliu.c
阅读全文
摘要:一、文本词频同意问题分析 1.1 问题分析 文本词频统计 需求:一篇文章,出现了哪些词?哪些词出现得最多? 该怎么做呢? 英文文本 中文文本 英文文本:Hamet 分析词频 中文文本:《三国演义》 分析人物 二、 Hamlet英文词频统计实例讲解 " " 文本去噪及归一化 使用字典表达词频 结果:
阅读全文