Python files are packaged as exe with pyinstaller with icons

Because Python will often use to write scripts, it will be a lot easier to make exe, so check it and use pyinstaller.

Cmd + R enter command line input

pip install PyInstaller

After the installation is successful, cd to the directory of the .py file and execute it.

pyinstaller -F -i tubiao.ico wenjian.py

Because the exe icon file is .ico, so if it is jpg or png change the suffix, then there will be a dict folder in the directory, click into the exe file.

reference:

Intelligent Recommendation

Pyinstaller (Python is packaged as an exe file)

Pyinstaller (Python is packaged as an exe file) Requirements Analysis: python scripts can't be run on a machine that doesn't have python installed, so package the script into an exe file, reducing the...

python- packaged into exe using pyinstaller

Python is a very concise and efficient language, especially suitable for the development of some commonly used tools, but every time it needs to be executed on the command line or IDE, it is more trou...

Python is packaged into EXE using Pyinstaller

Install Pyinstaller using PIP Classic packaging. Click on the file where your Python code is located. For example, you have the following folder Open the CMD in this path. For example, enter the CMD b...

Pyinstaller (Python packaged for EXE file)

2021-3-20 Today, I summarize: mainly, I want to achieve my own time to reward the target, but I can't put the other messy tools such as PY on the OC of the project group, so let the school girl pick i...

Python is packaged into exe about pyinstaller

background Recently, the company's unity needs me to write scripts to convert data, and convert word or txt questions and answers into json. Since unity programmers are busy recently, I have free time...

More Recommendation

Python program is packaged into exe -Pyinstaller

Install Pyinstaller package pip install pyinstaller Use the pyinstaller command Common parameters https://www.jb51.net/article/206825.htm eg: -W does not display the command line window (the command l...

The Python Pyinstaller packaged into the EXE (packaged in various modes)

Pyinstaller Python programs will be packaged into EXE Article Directory Pyinstaller Python programs will be packaged into EXE installation Overall process Parameter Description PY single file It conta...

The prepared pyinstaller packaged into exe files installation package

This blog uses inno setup download and install the required software, not the python module (can not use pip install) after installation package generated according to the following steps, the install...

Will be packaged into exe files python

Accidentally discovered an interesting blogPython-- painting a beautiful cherry trees (different species of cherry + Rose + Oh Christmas Tree) Inside python draw with the beautiful images like this: T...

Python files are packaged into exe

Method: use pyinstaller 1): Install: 2): Enter the project path and execute: There is an .exe file in the dist directory, double-click to run...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top