当前位置:网站首页>Pycharm打包项目为exe文件
Pycharm打包项目为exe文件
2022-08-02 03:24:00 【隐身的菜鸟】
项目打包生成exe可执行文件
1.首先,打开自己要发布的工程 ,点击底部的“Terminal”打开终端,输入命令:
pip install pyinstaller ,按回车键运行。
2.输入命令:pyinstaller ,按回车键显示安装成功。
3.输入命令pyinstaller --console --onefile xxx.py
4. exe文件的路径
在项目根目录下有一个dist文件夹,里面会有打包好的exe文件
边栏推荐
猜你喜欢
SQL: DDL, DML, DQL, DCL corresponding introduction and demonstration
6.24今日学习
(3) Thinkphp6 database
js eventLoop 事件循环机制
ES6数组的扩展方法map、filter、reduce、fill和数组遍历for…in for…of arr.forEach
[league/climate] A robust command-line function manipulation library
IO stream, encoding table, character stream, character buffer stream
IO流、 编码表、 字符流、 字符缓冲流
微信小程序云开发如何将页面生成为pdf?
面试总结 22/7/22 面试中的重点
随机推荐
[trendsoft/capital]金额转中文大写库
PHP有哪些杀手级超厉害框架或库或应用?
如何计算地球上两点的距离(附公式推导)
Phpstudy安装Thinkphp6(问题+解决)
Function hoisting and variable hoisting
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.
QR code generation API interface, which can be directly connected as an A tag
IO流、字节流、字节缓冲流
IO流、 编码表、 字符流、 字符缓冲流
js 之 Object.defineProperty()
Batch replace file fonts, Simplified -> Traditional
[mikehaertl/php-shellcommand]一个用于调用外部命令操作的库
MySql Advanced -- Constraints
Circular linked list---------Joseph problem
Various ways of AES encryption
区间问题 : 今年暑假不AC
Multithreading (implementing multithreading, thread synchronization, producer and consumer)
SQL:DDL、DML、DQL、DCL相应介绍以及演示
ES6三点运算符、数组方法、字符串扩展方法
Advanced Operations on Arrays