会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hampton
什么都是从入门到放弃,但是什么都想学学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2019年8月25日
pyqt图标
摘要: 关键代码: 完整测试: 左上角可以看到小图标,任务栏图标需要打包成exe才能看到
阅读全文
posted @ 2019-08-25 20:41 淇实是我
阅读(693)
评论(0)
推荐(0)
2019年8月24日
pyqt5 设计简单登陆界面,含记住密码功能
摘要: #以下为QT设计师生成的界面代码:
阅读全文
posted @ 2019-08-24 13:35 淇实是我
阅读(4760)
评论(0)
推荐(0)
2019年8月9日
python 通过函数的使用,将字典的深度搜索化简(减少循环次数)
摘要: 其中涉及一些条件的判断: 循环实现:(dict,sheet均为字典,主要是row是sheet字典中最底层列表的某一行数据,这大致是一个筛选数据的过程 函数实现:
阅读全文
posted @ 2019-08-09 11:43 淇实是我
阅读(435)
评论(0)
推荐(0)
2019年8月5日
pyqt 简单数据分析Demo-1.0
摘要: untitle.py(以下由QT designer生成)
阅读全文
posted @ 2019-08-05 11:15 淇实是我
阅读(604)
评论(0)
推荐(0)
2019年8月1日
pyqt5desinger的安装即配置
摘要: 在安装python的目录下Lib\site-packages\PyQt5\Qt\bin找到designer.exe,打开即可使用 在pyCharm下使用它 File>Setting>Tools>External Tools下点击“+” Name随便起 working director直接填(不要瞎改
阅读全文
posted @ 2019-08-01 16:07 淇实是我
阅读(266)
评论(0)
推荐(0)
2019年7月30日
python 文件操作
摘要: 以上方法不常用 报错: flush的作用: truncate截断方法: 文件模式: r+:读写模式,读正常,写的时候在最后写,但写了之后光标移动到最后,想要再读需要移动光标 w+:写读模式,写在最开始写,会覆盖原来的内容,想要读的时候要移动光标,基本上不用 a+:光标一开始在最后,读写都是在最后,不
阅读全文
posted @ 2019-07-30 16:09 淇实是我
阅读(144)
评论(0)
推荐(0)
openGL 大作业之n星变换
摘要: #include "stdafx.h" #include #define GLUT_DISABLE_ATEXIT_HACK //不写这句话总运行出错,我也不知道为啥。。。 #include #include int change = 10; static GLfloat spin = 0.0;//static:静态全局变量,只要程序运行,内存中一直存在,文件内可见,文件外不可见 void in...
阅读全文
posted @ 2019-07-30 15:13 淇实是我
阅读(467)
评论(0)
推荐(0)
openGL 蓝天白云
摘要: #include "stdafx.h" #include #include #include #include const double TWO_PI = 6.2831853; /*Initial display-window size*/ GLsizei winWidth = 800, winHeight = 600; GLuint regHex; class screenPt { ...
阅读全文
posted @ 2019-07-30 11:25 淇实是我
阅读(543)
评论(0)
推荐(0)
openGL 折线
摘要: #include "stdafx.h" #include /*Initial display-window size*/ GLsizei winWidth = 600, winHeight = 500; /*Initialize raster position*/ GLint xRaster = 25, yRaster = 150; GLubyte label[36] = { 'J','a'...
阅读全文
posted @ 2019-07-30 11:24 淇实是我
阅读(214)
评论(0)
推荐(0)
openGL 六边形
摘要: #include "stdafx.h" #include #include #include const double TWO_PI = 6.2831853; /*Initial display-window size*/ GLsizei winWidth = 400, winHeight = 400; GLuint regHex; class screenPt { private: ...
阅读全文
posted @ 2019-07-30 11:22 淇实是我
阅读(606)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告