上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

2021年6月2日

QT 写csv文件

摘要: //创建一个path路径、 路径记录着创建文件的路径 csv文件QString path = QFileDialog::getSaveFileName(this,"save","../","CSV(*.csv)"); //如果 如果创建路径成功if(path.isEmpty() == false){ 阅读全文

posted @ 2021-06-02 15:51 袁佳佳 阅读(1392) 评论(0) 推荐(0) 编辑

2021年5月27日

QT QStringList的用法

摘要: //定义String类型的list变量QStringList namelist; //赋值namelist <<"亚瑟"<<"赵云"<<"张飞"<<"关于"<<"花木兰"; //循环打印for(int j=0; j < 5; j++){ qDebug()<< "QList的应用: "+namelis 阅读全文

posted @ 2021-05-27 17:26 袁佳佳 阅读(3316) 评论(0) 推荐(0) 编辑

2021年5月13日

C++类的应用、查看点和圆的关系、1、在圆上 2、在圆内 3、在圆外

摘要: #include <iostream> using namespace std; //点的类 class Point{ //两个私有属性 private: int m_X; int m_Y; //公共方法给点的 x和y两个属性赋值和取值 public: //设置x void setX(int x){ 阅读全文

posted @ 2021-05-13 14:17 袁佳佳 阅读(294) 评论(0) 推荐(0) 编辑

2021年3月30日

uipath当前是一年的多少周

摘要: 方法二: System.Globalization.GregorianCalendar gc = new System.Globalization.GregorianCalendar();int weekOfYear = gc.GetWeekOfYear(DateTime.Now, System.G 阅读全文

posted @ 2021-03-30 18:11 袁佳佳 阅读(351) 评论(0) 推荐(0) 编辑

python生成当前是 第几周 、第几天

摘要: 阅读全文

posted @ 2021-03-30 17:45 袁佳佳 阅读(681) 评论(0) 推荐(1) 编辑

2021年3月17日

uipath 把excel转成pdf

摘要: 1、搜索ExceltoPDF 2、安装 3、 其中ExcelSourcePath 中填要转成pdf的excel RemovePageBreaks中填写 True 接下来单独运行此控件、就会在excel的文件夹中生成一个 pdf(和excel同名) 阅读全文

posted @ 2021-03-17 22:40 袁佳佳 阅读(347) 评论(0) 推荐(0) 编辑

2021年2月1日

想要查看源码、这个东西必须要能看懂

摘要: 阅读全文

posted @ 2021-02-01 20:32 袁佳佳 阅读(63) 评论(0) 推荐(0) 编辑

python下面的yield(生成器、迭代器)的使用

摘要: 参考文章https://blog.csdn.net/mieleizhi0522/article/details/82142856/ # 经典版本 最容易的理解就是return == yield 但是加上一个while 或者for的 yield就是一个及其节约内存的关键字(比如list占了很多内存、可 阅读全文

posted @ 2021-02-01 19:46 袁佳佳 阅读(95) 评论(0) 推荐(0) 编辑

2020年12月10日

django orm Meta的使用

摘要: https://www.cnblogs.com/ccorz/p/Django-models-zhong-demeta-xuan-xiang.html django的meta 通过一个内嵌类、给你的model定义元数据、类似下面方法 class Foo(models.Model): bar = mod 阅读全文

posted @ 2020-12-10 11:00 袁佳佳 阅读(224) 评论(0) 推荐(0) 编辑

2020年12月7日

django上传多条数据

摘要: #方式一# for i in range(1,4):# ga = "大数据{}班".format(i)# g = Grade(g_name = ga)# g.save()#方式二for i in range(1,4): ga = "大数据{}班".format(i) Grade.objects.cr 阅读全文

posted @ 2020-12-07 18:04 袁佳佳 阅读(119) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

导航