'목록하단 광고 치환자(withSeok)
728x90

PyInstaller 라이브러리를 설치

pip install pyinstaller
pyinstaller your_program.py

실행 결과로 생성된 "dist" 폴더에서 EXE 파일을 찾는다.

생성된 EXE 파일을 원하는 위치로 이동하거나 배포.

 

PyInstaller 라이브러리는 파이썬 코드를 실행 파일로 변환하는 데 사용되는 오픈 소스 라이브러리

 

pyinstaller --onefile your_program.py

 

pyinstaller --onefile --windowed your_script.py

728x90

'■ 현재-ing > ㅡPython' 카테고리의 다른 글

PY) Find_CH340.exe  (0) 2023.10.08
반) 자료구조  (0) 2023.10.08
python 기초 dictionary item  (0) 2023.09.13
pyinstaller  (0) 2023.08.31
파이썬_No module named 'serial'  (0) 2023.08.27

+ Recent posts