当前位置:网站首页>在Pycharm中打包(.py)文件成(.exe)文件
在Pycharm中打包(.py)文件成(.exe)文件
2022-07-20 05:32:00 【Kkh_8686】
在Pycharm中打包(.py)文件成(.exe)文件
1. 先下载一个库:pyinstaller
也或者在终端(Terminal)下载,相对于输入命令行:
pip install pyinstaller
2. 安装完成pyinstaller后,在终端去到你想要打包的文件中。输入命令:
pyinstaller -F UI_carmer_main.py
然后按回车键:
3. 打包成功:
4, 会出现如下黑框,如果想要去除,可进行如下操作:
去除黑框操作,打包输入命令行:
# 方法一:
pyinstaller -F UI_carmer_main.py --noconsole
# 方法二
pyinstaller -F -w UI_carmer_main.py
边栏推荐
- Chrome 进程架构
- 页面性能:如何系统地优化页面?
- [dish of learning notes dog learning C] detailed array name
- The real topic of the 11th national competition of Bluebridge cup 2020 - tiangan dizhi
- Introduction à la théorie des micro - services
- (八)PyTorch深度学习:卷积神经网络(基础)---将(七)全连接神经网络改成卷积神经网络
- [dish of learning notes dog learning C] advanced pointer
- 任务调度:常见类型和工具
- dolphinscheduler调用shell脚本并传多个参
- kettle_配置数据库连接_报错
猜你喜欢
(八)PyTorch深度学习:卷积神经网络(基础)---将(七)全连接神经网络改成卷积神经网络
【学习笔记之菜Dog学C】初识指针
Centos8 (Linux) 安装 redis
工具-IDEA 好看的样式字体/字号/
[dish of learning notes dog learning C] chain access, function declaration and definition, goto statement
[dish of learning notes dog learning C] data storage
[dish of learning notes dog learning C] array
Flink DataStream API (一)执行环境
Introduction to microservice theory
ClickHouse启动失败_Unit clickhouse-server.service entered failed state
随机推荐
达梦索引管理
Chrome 进程架构
koa2 接收不到post方法提交的formData数据(值: {})
【学习笔记之菜Dog学C】初识指针
Parameters and calls of the [learning notes dish dog learning C] function
二分图
数组常用方法
查询学生成绩在80之上的学生信息
mysql 通过dts迁移至达梦
数据仓库产品
Flink 分流之 Filter/Split/SideOutPut 比较
Better to struggle for the future than regret the past
数据生成器 -支持多种类型
选择排序/基数排序
数仓每层表的作用
Flutter 小结
直接插入排序/希尔排序
<srcipt>标签上的 ‘defer‘和‘async‘ 属性的作用
【学习笔记之菜Dog学C】if分支语句与switch分支语句
CDH安装中Mysql配置