会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
谭普利特
夫道不欲杂,杂则多,多则扰,扰则忧,忧而不救。古之至人,先存诸己,而后存诸人。
博客园
首页
新随笔
联系
订阅
管理
2018年8月7日
python文件操作
摘要: 文件编码:
阅读全文
posted @ 2018-08-07 22:16 谭普利特
阅读(133)
评论(0)
推荐(0)
编辑
Python集合
摘要: list_1 = set([1, 5, 3, 6, 8]) list_2 = set([2, 4, 5, 8, 6]) #交集 # print(list_1.intersection(list_2)) & # {8, 5, 6} #并集 # print(list_1.union(list_2)) | # {1, 2, 3, 4, 5, 6, 8} #差集(in list_...
阅读全文
posted @ 2018-08-07 14:13 谭普利特
阅读(130)
评论(0)
推荐(0)
编辑
公告