python
Keycer
这个作者很懒,什么都没留下…
展开
-
小白级从0搭建PyQt5开发环境步骤
1 说明本文先在Win10上从0开始搭建Python3的环境,然后在这个环境上搭建PyQt5的开发运行环境,最后创建了一个包含了用qt designer设计的窗口的例程。2 安装Python3本文使用Python3.8.2进入https://www.python.org/getit/点击如下图所示的链接在打开的页面中翻到最底部,点击如下图所示的链接,下载Windows...原创 2020-04-05 02:19:44 · 706 阅读 · 0 评论 -
python3读写excel(通过xlrd和xlwd)
1.pip安装xlrd和xlwtpip install xlrdpip install xlwt2.读取excelread.xls表格中内容如下所示:read.py源代码如下:# -*- coding: utf-8 -*- import xlrdimport osclass ExcelReade(object): def __init__(self, ...原创 2020-04-04 00:27:10 · 846 阅读 · 0 评论 -
netcfg可以在cmd中运行,但在python 的os.system函数中执行却找不到该应用程序
(1)netcfg可以在cmd中运行,但在python 的os.system函数中执行却找不到该应用程序Python代码:import osif __name__=="__main__": print("start...") os.system("netcfg") print("finished!!!")运行Python代码效果:在cmd中直接运原创 2017-11-30 16:52:31 · 4215 阅读 · 0 评论