摘要:
1、ShellExecute函数 import win32api win32api.ShellExecute(0, 'open', 'notepad.exe', '', '', 0) # 后台执行 win32api.ShellExecute(0, 'open', 'notepad.exe', '', 阅读全文
摘要:
from ctypes import * user32 = windll.LoadLibrary('user32.dll')#调用dll文件 #a是得到弹出框的选择按钮的值 user32.MessageBoxA(0显示弹出框,显示消息内容,弹出框标题内容,0-6个选择) #乱码要添加编码格式 .de 阅读全文
摘要:
1、打开Pycharm。2、打开Terminal(快捷键Alt + F12) 3、安装pyinstaller工具输入:pip install pyinstaller4、生成本项目可执行文件Terminal中输入: pyinstaller -F -w main.py main.py是我的项目启动文件名 阅读全文