list1 = [1, 2, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5] list2 = [5, 5, 6, 7, 8, 9] set集合 差集--两种情况 print(list(set(list1) - set(list2))) print(list(set(list2) - se ...
分类:
其他好文 时间:
2020-06-29 09:43:32
阅读次数:
61
{ "name": "XXX", "version": "1.0.0", "summary": "XXX Library", "description": "Provide XXX", "homepage": "http://xxx", "license": "xxx", "authors": { ...
分类:
移动开发 时间:
2020-06-28 20:18:30
阅读次数:
69
【Summary】 TaskFlow 是一个为了 openstack 实现的 python 库,使得执行 task 变得简单,一致,易扩展,可靠; 它能以一种声明的方式,将轻量级 task 对象的创建与 flows 结合起来; 它以一个可以声明的方法可以使得其包含的 engines 去运行这些 fl ...
分类:
其他好文 时间:
2020-06-28 15:24:07
阅读次数:
47
List<CoupleBackList> CoupleBackList_at = new List<CoupleBackList>(); var retData = RetDataList.AsEnumerable().Select(t => new { Id = t.Field<Guid>("Id ...
分类:
编程语言 时间:
2020-06-28 12:43:22
阅读次数:
176
private MailMessage mailMessage; private SmtpClient smtpClient; private string password;//发件人密码 /// <summary> /// 带参数的构造函数,初始化发送邮件的条件 /// </summary> / ...
对 enumerate, zip, zip_longest, chain ... 等不常用迭代器的强化认识. ...
分类:
其他好文 时间:
2020-06-27 13:16:07
阅读次数:
47
WPF场景下后台生成DataGrid列的代码: /// <summary> /// 通用的出勤表头设置 /// </summary> /// <param name="dgView">DataGrid实例</param> /// <param name="dataTable">源数据表</param ...
类别 /// <summary> /// 用户类 /// </summary> [Table("TB_User")] public class UserModel { [Key] public int UId { get; set; } public int UName { get; set; } ...
分类:
Web程序 时间:
2020-06-26 22:08:49
阅读次数:
65
1 using System; 2 using System.Collections; 3 using System.Reflection; 4 using System.Text; 5 6 namespace JSON 7 { 8 /// <summary> 9 /// 模型转为JSON 10 / ...
分类:
Web程序 时间:
2020-06-26 16:15:18
阅读次数:
73
ROC 结果 源数据:鸢尾花数据集(仅采用其中的两种类别的花进行训练和检测) Summary features:['sepal length (cm)', 'sepal width (cm)', 'petal length (cm)', 'petal width (cm)'] 实例:[5.1, 3. ...
分类:
编程语言 时间:
2020-06-25 19:35:25
阅读次数:
56