SW/Python

[pyinstaller] 실행파일(EXE) 만들기

Fun with x 2024. 1. 18. 23:11

 

 

pyinstaller --name="app" --icon="burning.ico" --noconsole --onefile main.py

-n, --name : 어플이름

-i=<icon_path>, --icon=<icon_path> : 아이콘 위치

-w, --noconsole, --windowed : 프롬프트창 안띄우기

-F, --onefile : .exe file 하나로 패키징