摘要: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'):...
阅读全文
摘要: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...
阅读全文
摘要:# -*- 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...
阅读全文
摘要:cd命令:切换目录 (1)切换到目录 /usr/local cd/usr/local (2)去到目前的上层目录 cd .. (3)回到自己的主文件夹 cd ~ ls命令:查看文件与目录 (4)查看目录/usr下所有的文件 #Is /usr mkdir命令:新建新目录 (5)进入/tmp目录,创建一个
阅读全文
摘要:1.试述大数据对思维方式的重要影响。 2.详细阐述大数据、云计算、物联网之间的区别与联系。 3.简述你对大数据应用与发展的看法,以及你在这次大数据浪潮中想扮演什么角色。 1、当今,互联网井喷式快速发展,我们早已步入信息化社会。信息并不匮乏,匮乏的是我们处理信息的能力,我们有限的注意力是组织活动的主要
阅读全文