1. set集合类型的操作(无序集合) 集合具有无序性(没有顺序)、确定性(描述是确定的)、唯一性(没有重复的元素) 1.1. sadd key member [member ...] 语法:sadd key member [member ...] 作用:往集合key中添加元素 返回值:添加元素的个 ...
分类:
其他好文 时间:
2018-11-29 22:28:07
阅读次数:
239
三、 垃圾邮件分类 数据准备: 用csv读取邮件数据,分解出邮件类别及邮件内容。 对邮件内容进行预处理:去掉长度小于3的词,去掉没有语义的词等 尝试使用nltk库: pip install nltk nltk.download 不成功:就使用词频统计的处理方法 训练集和测试集数据划分 from sk... ...
分类:
其他好文 时间:
2018-11-29 15:16:44
阅读次数:
218
一使用SELECT子句进行多表查询SELECT 字段名 FROM 表1,表2 … WHERE 表1.字段 = 表2.字段 AND 其它查询条件SELECT a.id,a.name,a.address,a.date,b.math,b.english,b.chinese FROM tb_demo065_ ...
分类:
数据库 时间:
2018-11-27 14:48:49
阅读次数:
173
In this lesson you will learn to talk about past occurences. 过去进行时 课上内容(Lesson Key) C: Hi, Loki! L: Hi, Corrine.Good evening! L: Long time no see. C: ...
分类:
移动开发 时间:
2018-11-27 01:35:00
阅读次数:
271
Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the ...
分类:
其他好文 时间:
2018-11-16 21:02:23
阅读次数:
130
图一: 图二: 图一转图二: 图二转图一: Name Course Score Zhangsan Chinese 85 Zhangsan Maths 76 Zhangsan English 80 Lisi Chinese 82 Lisi Maths 90 Lisi English 55 ...
分类:
其他好文 时间:
2018-11-14 11:00:25
阅读次数:
140
词汇 "音频" 1. apartment [??pɑ:tm?nt] n. 公寓 a big / small apartment 一个大的/小的公寓 in an apartment 在公寓 2. arm [ɑ:m] n. 手臂 on the arm 在手臂上 in the arms 抱着 arms 手 ...
分类:
其他好文 时间:
2018-11-13 12:16:39
阅读次数:
191
In this lesson you will learn to describe what you have. STARTER Do you have a ...? # 你有...吗? car brother/sister job hobby favorite song Tell your tut ...
分类:
其他好文 时间:
2018-11-13 00:11:19
阅读次数:
174
公司9月份空降一位技术总监,个子不高,头顶有点秃。说话老是中文中混夹一点English(这个只需要加一个parameter就好了;这个简单,你只需要把它hide住)。之前找我谈话也是气场十足:“我之前在很多家公司都是担任技术总监这个职位,之前很多年也是一直担任技术总监这个职位。”于是我深深的相信,他的确是一个很厉害的人物,相信我们技术部在他的带领下会越来越好,为公司作出更大的贡献!然而,我错了。说
分类:
编程语言 时间:
2018-11-10 21:52:28
阅读次数:
219
import redef test(teststr, *args): #strformatter = "%s" myargs = args[0] if len(args) > 1: for i in args[1:]: myargs += '|' + str(i) #strformatter += ...
分类:
其他好文 时间:
2018-11-10 10:51:14
阅读次数:
281