当前位置:网站首页>[reprint] pycharm packages.Py program as executable exe
[reprint] pycharm packages.Py program as executable exe
2022-07-25 06:17:00 【Mysterious brother】
In the development environment , We can go straight through IDE (pycharm) Direct operation , When we finish a program , We need to do it in an independent environment , So we need to .py The program is packaged into windows Environment can be directly executed exe file .
The operation steps are as follows :
1. stay pycharm Install plug-ins in PyInstaller

2. Call out terminal terminal , Enter the command pyinstaller -F -w vipvideoplay2.py Click enter

Pictured : After entering the specified command, it will be produced in the current directory dist Folder ,dist Folder for the generated exe file

Parameter description :
-F: Package all library files into one exe
-w: Hide the black console window
If not -F Parameters generate a lot of files , But it's faster . Compressed than single exe The file should be smaller
Add -F Parameter generates only one exe file , But it's slow
边栏推荐
- Typedef usage and template
- Dry goods | training AI model can't find data? Collect 20 selected open source communities!
- VB variable types and control statements (basic)
- 日期(DAY 76)
- 【luogu P6629】字符串(Runs)(树状数组)
- HTB-Optimum
- The most comprehensive multi-threaded application tutorial - summary in detail
- Classic cases of static keywords and block blocks
- Draw Bezier curve through screen interaction
- [QT] solve the problem of Chinese garbled code output from QT console
猜你喜欢

Use abp Zero builds a third-party login module (III): web side development

(2022 Niuke multi school) D-Link with game glitch (SPFA)

Sword finger offer 54. the k-th node of the binary search tree

What determines the "personality" of AI robots?

Data too long for column ‘data‘ at row 1以及设置成longblob造成的乱码解决。node-mysql

(牛客多校二)J-Link with Arithmetic Progression(最小二乘法/三分)

The code spell checker plug-in avoids some specific vocabulary errors "XXX": unknown word.cspell

JTAG debugging source level debugging of arm bare board debugging

Promise implementation

Use abp Zero builds a third-party login module (4): wechat applet development
随机推荐
“font/woff“ and “font/woff2“ in file “mime.types“
Some common interview questions about IO stream and string
剑指 Offer 32 - I. 从上到下打印二叉树
Brief introduction of acoustic filter Market
Installation and configuration of automatic operation and maintenance management workers ansible
【datawhale202207】强化学习:强化学习基础
[C language] in depth understanding of pointers and arrays (phase I)
VB variable types and control statements (basic)
Design of automatic machine dot drawing script based on C language
2022 "strong country Cup" preliminary WP (with script and detailed process)
JS 获取鼠标选中的文字并处于选中状态
有什么能在网上挣钱的项目啊?做自媒体靠谱吗?
SAP FICO 第三节 BDC和LTMC导入S4财务科目
Netease game Flink SQL platform practice
(牛客多校二)J-Link with Arithmetic Progression(最小二乘法/三分)
函数模板学习记录
【每日一练】day(14)
context must be a dict rather解决
U-boot-1.1.6 transplant notes (beginner)
Cout format output common functions and flags summary