![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
超超级钢铁侠
每天进步一点点
展开
-
Python数据可视化练习
首先练习python的matplotlib和seaborn两个模块画图:%matplotlib inlineimport numpy as npimport matplotlib as mplimport matplotlib.pyplot as pltnp.random.seed(sum(map(ord, "aesthetics")))def sinplot(flip=1): x原创 2016-04-24 00:07:26 · 3015 阅读 · 0 评论 -
基于scrapy的天气数据采集
完成了实验楼基于scrapy的天气数据采集实验,对python爬虫有了进一步认识。原创 2017-01-16 14:17:04 · 1678 阅读 · 0 评论 -
爬虫笔记
基本操作#简单爬百度主页import urllib.requestfile = urllib.request.urlopen("http://www.baidu.com")data = file.read()print(data)#存到本地文件fhandle = open("C:/MyCode/Python/Python3/Scratch/1.html","wb")fhandl原创 2017-12-25 15:30:20 · 364 阅读 · 0 评论 -
微信聊天机器人
无意中发现一个有趣的python库itchat,网址是itchat可以实现很多好玩的功能,哈哈哈。以后可以有自己的聊天机器人啦。记录一下。#coding=utf8import requestsimport itchatKEY = '71f28bf79c820df10d39b4074345ef8c'def get_response(msg): # 这里我们就像在“3. 实现最原创 2018-01-18 21:57:46 · 1142 阅读 · 0 评论