主要用到的方法: itchat.login() 微信扫描二维码登录 itchat.get_friends() 返回完整的好友列表,每个好友为一个字典, 其中第一项为本人的账号信息,传入update=True, 将更新好友列表并返回, get_friends(update=True) itchat.g ...
分类:
微信 时间:
2018-09-24 11:24:54
阅读次数:
184
When register on a social network, you are always asked to specify your hobbies in order to find some potential friends with the same hobbies. A socia ...
分类:
其他好文 时间:
2018-09-22 18:17:12
阅读次数:
147
总结列表,元组,字典,集合的联系与区别。 列表 1.可以用list()函数或者方括号[]创建,元素之间用逗号’,‘’分隔。 2.列表的元素不需要具有相同的类型 3.使用索引来访问元素 元组 元组跟列表很像,只不过元组用小括号来实现() 具有以下特点: 1.可以用tuple()函数或者方括号()创建, ...
分类:
其他好文 时间:
2018-09-21 15:06:57
阅读次数:
235
题面 枚举每个数字是否能被删去,然后就是如何判定图是否存在。应该从按“度数”从大到小排序,从最大的顺次向其他点连边(先连“度数”小的可能会把一些可以和大“度数”点连接的点用掉)。但是这个排序每连一次都要做一次,而$N<=500$的情况下$O(n^3log$ $n)$并不能过。但是发现度数最多只有$n ...
分类:
其他好文 时间:
2018-09-20 11:05:12
阅读次数:
139
题目传送门 Cyclic Nacklace Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15508 Accepted Submission(s ...
分类:
其他好文 时间:
2018-09-14 23:55:37
阅读次数:
205
根据用户的备注名来给用户发送特定的消息,在itchat获取的friends列表中,username每次登陆之后都会出现变化。 ...
分类:
微信 时间:
2018-09-12 14:31:36
阅读次数:
279
Hello everyone, I'm very happy to introduce myself here.I'm stone. I was born in Hubei Province. My friends say that I'm an easygoing and helpful pers ...
分类:
其他好文 时间:
2018-09-09 15:31:31
阅读次数:
167
Hello,everyone! My name is Xianhong Zhou.I'am a 19-years-old boy.I have a lot of hobbies.I like to exercise with my friends. If you only have one, you ...
分类:
其他好文 时间:
2018-09-08 13:05:33
阅读次数:
170
假设有一段文本:"I have a cat, his name is Huzihu. Huzihu is really cute and friendly. We are good friends." 那么怎么提取这段文本的特征呢? 一个简单的方法就是使用词袋模型(bag of words mode ...
分类:
系统相关 时间:
2018-09-06 02:59:03
阅读次数:
711
Oleg the client and Igor the analyst are good friends. However, sometimes they argue over little things. Recently, they started a new company, but the ...
分类:
其他好文 时间:
2018-08-28 20:14:53
阅读次数:
212