08 2024 档案

摘要:exe文件是windows系统的可执行文件,具有很强的可移植性,制作exe文件同时也是开发gui软件的重要过程,以下是python代码打包exe文件的基本步骤。 1. 进入虚拟环境 一开始使用pipenv shell,后续可以使用conda。使用虚拟环境可以尽量减小软件包的大小,减少不相关包的引入。 阅读全文
posted @ 2024-08-29 16:13 stone9693 阅读(59) 评论(0) 推荐(0) 编辑
摘要:1. 基本介绍 NSIS (Nullsoft Scriptable Install System)是一个专业的开源系统,用于创建Windows桌面安装程序,比如msi。平时工作中想要把exe文件打包,并且在不同系统之间安装,可以使用NSIS,本文使用版本为3.08。 2. 下载地址 可以通过搜索引擎 阅读全文
posted @ 2024-08-29 16:01 stone9693 阅读(29) 评论(0) 推荐(0) 编辑
摘要:1. 相对路径 import os source_path=r'你的目录' for root,dirs,files in os.walk(source_path): print('当前目录为:',root) print('当前目录下的子目录为:') for dirname in dirs: prin 阅读全文
posted @ 2024-08-28 16:06 stone9693 阅读(1944) 评论(0) 推荐(0) 编辑
摘要:挂载到你的目标目录目录下: sudo ln -s /你的原始目录 /你的目标目录 挂载到你的当前目录下: sodu ln -s /你的原始目录 . 阅读全文
posted @ 2024-08-15 14:29 stone9693 阅读(24) 评论(0) 推荐(0) 编辑
摘要:比如查看进程显示表头: ps -aux | head -n 1;ps -aux | grep runserver 阅读全文
posted @ 2024-08-15 14:27 stone9693 阅读(36) 评论(0) 推荐(0) 编辑
摘要:挂载: mount -t cifs //你的共享目录/你的次级目录 /你的挂载点 -o username=你的共享账户,password=你的共享密码 打开/etc/fstab文件,在最后一行添加,注意用空格分开,保持列对其,具体如下: //你的共享目录/你的次级目录 /你的挂载点 cifs aut 阅读全文
posted @ 2024-08-15 14:23 stone9693 阅读(67) 评论(0) 推荐(0) 编辑
摘要:vim /etc/sysconfig/network-scripts/ifcfg-ens33 修改以下配置: BOOTPROTO="static" ONBOOT="yes" 修改之后重启网卡: systemctl restart network 阅读全文
posted @ 2024-08-15 14:22 stone9693 阅读(5) 评论(0) 推荐(0) 编辑

GitHub账户:https://github.com/stone9693
点击右上角即可分享
微信分享提示