03 2018 档案

网络爬虫基础练习
摘要:import requests from bs4 import BeautifulSoup res = requests.get('http://www.qq.com/') res.encoding = 'UTF-8' soup = BeautifulSoup(res.text, 'html.parser') # 取出h1标签的文本 for h1 in soup.find_all('h1'):... 阅读全文

posted @ 2018-03-29 20:49 184陈楚浩 阅读(78) 评论(0) 推荐(0)

中文词频统计
摘要:import jieba file=open('sanguoyanyi','r',encoding = 'utf-8') wordList=list(jieba.cut(file.read())) wordDict={} for word in wordList: if(len(word)==1): continue wordDict[word]= wordL... 阅读全文

posted @ 2018-03-28 21:54 184陈楚浩 阅读(103) 评论(0) 推荐(0)

python基础
摘要:# -*- coding:utf-8 -*- from turtle import * def mygoto(x,y): up() goto(x,y) down() def drawStar(r): begin_fill() for i in range(5): forward(r) right(144) end_f... 阅读全文

posted @ 2018-03-15 21:10 184陈楚浩 阅读(131) 评论(0) 推荐(0)

熟悉常用的Linux操作
摘要:cd命令:切换目录 (1)切换到目录 /usr/local cd/usr/local (2)去到目前的上层目录 cd .. (3)回到自己的主文件夹 cd ~ ls命令:查看文件与目录 (4)查看目录/usr下所有的文件 #Is /usr mkdir命令:新建新目录 (5)进入/tmp目录,创建一个 阅读全文

posted @ 2018-03-14 15:48 184陈楚浩

大数据概述
摘要:1.试述大数据对思维方式的重要影响。 2.详细阐述大数据、云计算、物联网之间的区别与联系。 3.简述你对大数据应用与发展的看法,以及你在这次大数据浪潮中想扮演什么角色。 1、当今,互联网井喷式快速发展,我们早已步入信息化社会。信息并不匮乏,匮乏的是我们处理信息的能力,我们有限的注意力是组织活动的主要 阅读全文

posted @ 2018-03-07 15:50 184陈楚浩