Python Pyinstaller Control

Option

-w : noconsole

  • -F : onefile
  • pyinstaller -w -F 파일명.py

etc

  • import가 없다고하면 아래 —hidden-import=pkg명 추가
  • pyinstaller -w -F --hidden-import=pkg_resources.py2_warn "Deploy_Control[gui].py"
  • spec file 안에
import sys

sys.setrecursionlimit(5000)

'IT > Python' 카테고리의 다른 글

Windows 스케줄러 Python Script 사용  (0) 2021.01.14
KakaoTalk Proxy Server  (0) 2021.01.14
Python package environment settings  (0) 2021.01.14
Get it from Python Parameter Jenkins  (0) 2021.01.14
Python File Searching  (0) 2021.01.14

+ Recent posts