# SystemInfo **Repository Path**: divingkitten/SystemInfo ## Basic Information - **Project Name**: SystemInfo - **Description**: Python获取Windows系统信息脚本 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-21 - **Last Updated**: 2021-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python获取Windows系统信息 ## 编译环境 - windows 10、Pycharm、Python 3.6 ## 工具包 - wmi:获取Windows系统信息的基本类 - psutil:跨平台系统信息获取工具 - xlwt:xls文件工具类 - pyinstaller:.py文件打包为.exe文件 ## 有关指令 > 构建环境 ```bash ## 安装环境 pip install -r requirements.txt ``` > 保存环境 ```bash ## 生成环境pip包信息列表 pip freeze > requirements.txt ``` > pyInstaller 编译exe文件 ```bash ## 在终端执行pyinstall,[file.py]为需要编译的文件 pyinstaller -F [file.py] ## 编译的exe文件保存在执行目录的./dist ```