摘要: 差集>>> #两个列表的差集3 >>> ret3 = list(set(a) ^ set(b)) #两个列表的差集 >>> ret4=list(set(a).difference(set(b))) # a not same b ,retrun = a-b if a-b>0 else {} 并集 获取 阅读全文
posted @ 2020-02-24 17:56 不带R的墨菲特 阅读(3240) 评论(0) 推荐(0)
摘要: http://c.biancheng.net/view/1009.html 阅读全文
posted @ 2020-02-24 13:00 不带R的墨菲特 阅读(107) 评论(0) 推荐(0)
摘要: debug shell:执行 sh -x test.sh vi test.sh :set fileformat=unix :wq解决问题原因是我在windows pycharm 写的格式不符合unix导致语法错误 阅读全文
posted @ 2020-02-24 11:48 不带R的墨菲特 阅读(272) 评论(0) 推荐(0)