当前位置:网站首页>Convert py file to exe executable file
Convert py file to exe executable file
2022-07-28 03:52:00 【MAR-Sky】
Reference resources :https://blog.csdn.net/weixin_42394409/article/details/124445131
pyinstaller Generate exe Basic steps
- install pyinstaller library
- Installed on pyinstaller Library environment ,
pyinstaller Their own py File path(dist Multiple files in ),pyinstaller -F Their own py file(dist Only one of them exe file ); Be careful ==-w You can't see the command line window == 了 . - In the generated dist Find... In the folder exe The file of , Click directly to execute
| Parameters | usage |
|---|---|
| -F | The result is a exe file , All third parties rely on 、 Resources and code are packaged into the exe Inside |
| -D | The result is a directory , Various third parties rely on 、 Resources and exe Also stored in the directory ( Default ) |
| -a | It doesn't contain unicode Support |
| -d | Execute the generated exe when , It will output some log, Help check errors |
| -w | Don't show command line window |
| -c | Show command line window ( Default ) |
| -p | Specify additional import route , It's similar to using python path |
| -i | Assign icons |
| -v | Display version number |
| -n | Generated .exe The name of the file |
py2exe Package files
Reference resources :https://blog.csdn.net/jiyukun1/article/details/82218333
py2exe take Python The files are packed into .exe file ,py2exe There are certain restrictions Use in python2 Version or python3.4 edition once
边栏推荐
- 简单、好用的性能测试工具推荐
- Collection | 0 basic open source data visualization platform flyfish large screen development guide
- Move notice!
- Dynamic planning - 62. Different paths
- SAP UI5 FileUploader 控件深入介绍 - 为什么需要一个隐藏的 iframe 试读版
- Super nice PHP program source code of nteam official website
- Input upload file and echo FileReader and restrict the type of file selection
- Xctf attack and defense world web master advanced area unserialize3
- A 404 page source code imitating win10 blue screen
- Interview essential skills: SQL query special training!
猜你喜欢

A 404 page source code imitating win10 blue screen

Lightpicture - exquisite drawing bed system

ES6 from getting started to mastering 08: extended object functions

Qt:qmessagebox message box, custom signal and slot

C language: find the number of 1 in binary stored in memory as an integer

简单、好用的性能测试工具推荐

一文读懂Plato Farm的ePLATO,以及其高溢价缘由

Appnium -- app automated test tool

Msgan is used for pattern search of multiple image synthesis to generate confrontation Network -- to solve the problem of pattern collapse

Leetcode brush question: dynamic planning 09 (weight of the last stone II)
随机推荐
【OPENVX】对象基本使用之vx_pyramid
【OPENVX】对象基本使用之vx_matrix
After 95, Alibaba P7 published the payroll: it's really heartbreaking
Build an "industrial brain" and improve the park's operation, management and service capabilities with "digitalization"!
Simple and easy-to-use performance testing tools recommended
【原型与原型链】初识原型与原型链~
ES6 from getting started to mastering 08: extended object functions
【OPENVX】对象基本使用之vx_convolution
巧用栈回溯,帮你快速定位问题
动态规划——509. 斐波那契数
Leetcode58. Length of the last word
Collection | 0 basic open source data visualization platform flyfish large screen development guide
Greed - 55. Jumping game
[错题]Concatenation
Developing rc522 module based on c8t6 chip to realize breathing lamp
LeetCode_ 409_ Longest palindrome string
基于SSM实现在线租房系统
Tungsten Fabric SDN — BGP as a Service
[openvx] VX for basic use of objects_ convolution
[wrong question]mocha and railgun