Python 파이썬 exe 실행파일 만들기

2020. 4. 10. 11:23Python/소스코드

728x90
반응형

파이썬 exe 실행파일 만들기


1) pyinstaller 설치

pip install pyinstaller


2) 아래 와 같이 작성 후 run (test_wiki.py는 전환할 py파일)

--onefile : 각종 리소스 및 이런저런 파일 없이 실행 파일 한개만 나오게!

pyinstaller --onefile test_wiki.py



3) 만들어진 추출 파일 확인 (dist 폴더에 저장 됨)

 



 

728x90
반응형