上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 爬取中山大学官网的新闻页面: 截图: 阅读全文
posted @ 2018-04-11 17:23 Hiro-D 阅读(131) 评论(0) 推荐(0) 编辑
摘要: import requests from bs4 import BeautifulSoup from datetime import datetime import re res = requests.get('http://news.gzcc.cn/html/xiaoyuanxinwen/') res.encoding = 'utf-8' soup = BeautifulSoup(res.te... 阅读全文
posted @ 2018-04-04 16:14 Hiro-D 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 0.可以新建一个用于练习的html文件,在浏览器中打开。 1.利用requests.get(url)获取网页页面的html文件 import requests newsurl='http://news.gzcc.cn/html/xiaoyuanxinwen/' res = requests.get( 阅读全文
posted @ 2018-03-29 10:38 Hiro-D 阅读(136) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:UTF-8 -*- # -*- author: Hiro -*- import jieba txt = open('a.txt','r',encoding='utf-8') text1 = txt.read() text2 = list(jieba.lcut(text1)) delete = {',','。',' ',':','“','”','','!','、... 阅读全文
posted @ 2018-03-28 19:59 Hiro-D 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 截图: 阅读全文
posted @ 2018-03-26 17:18 Hiro-D 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 字符串练习: http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html 取得校园新闻的编号 https://docs.python.org/3/library/turtle.html 产生python文档的网址 http://news.g 阅读全文
posted @ 2018-03-20 22:19 Hiro-D 阅读(161) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:UTF-8 -*- # -*- author: Hiro -*- import turtle from turtle import * turtle.setup(600,400,0,0) turtle.bgcolor('red') turtle.color('yellow') turtle.fillcolor('yellow') def mygoto(x,y): ... 阅读全文
posted @ 2018-03-14 20:25 Hiro-D 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 请按要求上机实践如下linux基本命令。 cd命令:切换目录 (1)切换到目录 /usr/local cd /usr/local (2)去到目前的上层目录 cd .. (3)回到自己的主文件夹 cd ~ ls命令:查看文件与目录 (4)查看目录/usr下所有的文件 mkdir命令:新建新目录 (5) 阅读全文
posted @ 2018-03-14 11:36 Hiro-D 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 一:对思维方式的影响: 1:从样本思维向总体思维转变 2:从局部思维向全局思维转变 二:详细阐述大数据、云计算、物联网之间的区别与联系 1.物联网产生大数据,大数据助力物联网。 2.大数据是高速跑车,云计算是高速公路。 三:简述你对大数据应用与发展的看法,以及你在这次大数据浪潮中想扮演什么角色。 看 阅读全文
posted @ 2018-03-06 22:12 Hiro-D 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #include char scaner(char*input,int* p); void S(char*input,int* p); void T(char*input,int* p); void T1(char*input,int* p); void error(); int sym=0; int main() { int p=0; char in... 阅读全文
posted @ 2016-12-16 13:13 Hiro-D 阅读(349) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页