10 2017 档案

全国最气温统计及气温排名
摘要:1.选择一个自己感兴趣的问题 我选取的是一个中国天气预报网站,爬去‘’ http://www.weather.com.cn/textFC/hb.shtml‘’的内容。 全球气候变暖是一种和自然有关的现象,是由于温室效应不断积累,导致地气系统吸收与发射的能量不平衡,能量不断在地气系统累积,从而导致温度 阅读全文

posted @ 2017-10-23 12:57 01-李嘉秀 阅读(7193) 评论(0) 推荐(0) 编辑

数据结构化与保存
摘要:import requests import re import pandas from bs4 import BeautifulSoup url = 'http://news.gzcc.cn/html/xiaoyuanxinwen/' res = requests.get(url) res.encoding = 'utf-8' soup = BeautifulSoup(res.text, '... 阅读全文

posted @ 2017-10-18 17:10 01-李嘉秀 阅读(334) 评论(0) 推荐(0) 编辑

获取广州商学院各页新闻标题及点击次数
摘要:import requests import re from bs4 import BeautifulSoup url='http://news.gzcc.cn/html/xiaoyuanxinwen/' res=requests.get(url) res.encoding='utf-8' soup=BeautifulSoup(res.text,'html.parser') #获取点击次数 d... 阅读全文

posted @ 2017-10-11 11:38 01-李嘉秀 阅读(250) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示