摘要: 1.CMD时管理员权限 2.from bs4 import BeautifulSoup调用 阅读全文
posted @ 2018-05-05 16:27 想成为黑客 阅读(305) 评论(0) 推荐(0) 编辑
摘要: import requestspath = "D:/abc/123.jpg" #设置图片文件路径,前提是必须要有abc这个文件夹url = 'https://car3.autoimg.cn/cardfs/product/g24/M09/2C/2A/1024x0_1_q87_autohomecar__ 阅读全文
posted @ 2018-05-05 14:05 想成为黑客 阅读(4427) 评论(0) 推荐(0) 编辑
摘要: 例1:import requests #爬虫专用库r = requests.get("http://www.baidu.com") #从requests.get()中返回过来的Response对象赋予到rif r.status_code == 200: #测试是否成功 print("ok")r.en 阅读全文
posted @ 2018-05-05 13:43 想成为黑客 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 1.按照普通的pip不能行,说find不能 有位小杰控的大牛说了一句:换一个国内的更新源吧, 阅读全文
posted @ 2018-05-05 11:26 想成为黑客 阅读(337) 评论(0) 推荐(0) 编辑
摘要: import random #随机#主函数-打印基本信息-获取数据-判断赢场数-打印赢场def main(): printIntro() probA, probB, n = getInputs() winsA, winsB = simNGames(n, probA, probB) printSumm 阅读全文
posted @ 2018-05-05 09:02 想成为黑客 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 我是2018年非计算机专业,要毕业的 毕业生 学校就不说了 从大四才发现,我喜欢的是计算机科学与技术,主要想成为黑客,无所不能的黑客。 但是最近几天从学习中发现,我是多么的废物,多么的愚蠢,别的天才一看就会,一看就背的东西,对我来说如天书一般。 我在想,到底该怎么办呢? 毕业了,没有钱财来源,普通的 阅读全文
posted @ 2018-05-04 21:17 想成为黑客 阅读(187) 评论(0) 推荐(0) 编辑
摘要: import wordcloud,jiebafrom scipy.misc import imread #安装scipy库才可以mk = imread('love.jpg') #选择形状图片#对象的创建与参数设置w = wordcloud.WordCloud(mask=mk,width=1000,h 阅读全文
posted @ 2018-05-04 18:39 想成为黑客 阅读(1530) 评论(0) 推荐(0) 编辑
摘要: 1.pip install wordcloud失败 报错Microsoft Visual C++ 14.0 is required 2.直接想下载Microsoft Visual C++ 14.0 找了半天没找着-继续找攻略找到个靠谱的 #攻略地址:https://blog.csdn.net/m0_ 阅读全文
posted @ 2018-05-04 14:04 想成为黑客 阅读(12542) 评论(0) 推荐(1) 编辑
摘要: 300,0,144,1,0,0300,0,144,0,1,0300,0,144,0,0,1300,0,144,1,1,0300,0,108,0,1,1184,0,72,1,0,1184,0,72,0,0,0184,0,72,0,0,0184,0,72,0,0,0184,1,72,1,0,1184,1 阅读全文
posted @ 2018-05-04 12:42 想成为黑客 阅读(2441) 评论(0) 推荐(0) 编辑
摘要: import jiebatxt = open('C:/Users/eternal/Desktop/threekingdoms.txt','r',encoding='UTF-8').read() #提前修改txt文件编码格式utf-8excludes = {'将军','却说','荆州','二人','不 阅读全文
posted @ 2018-05-03 14:22 想成为黑客 阅读(4102) 评论(0) 推荐(0) 编辑