파이썬 exe 파일 만들기

Jay
1 min readMay 20, 2019

--

PYINSTALLER를 이용한 EXE파일 만들기

PYINSTALLER 설치

pip install pyinstaller

exe만들기

패키징할 myfile.py일이 있는 곳으로 이동후

pyinstaller myfile.py

그런데 이렇게 만들면 수도없이 많은 작은 파일들이 만들어짐

pyinstaller --onefile myfile.py 

혹시 gui를만든다면 콘솔(검은창)을 없애고 싶을 것이므로

pyinstaller --noconsole --onefile myfile.py

레퍼런스

--

--

Jay
Jay

Written by Jay

Brain Neural Network : Where neuroscience meets machine learning

No responses yet