반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- pywinauto
- 네이버 로그인 하기
- 네이버부동산크롤링
- 가상환경설치
- 네이버매물크롤링
- 파이썬 네이버 로그인
- Uipath 설치방법
- Uipath 기초
- selenium
- 커머스API
- vscode venv 설치
- venv 설치
- 파이썬 가상환경 설치
- 파이썬네이버부동산
- UiPath
- Selenium 셀렉터잡기
- pywinauto 윈도우
- 왕초보 파이썬 실행
- 파이썬 환경설정
- pywinauto 윈도우제어
- Element is not clickable at point
- pycdas.exe
- pycdc.exe
- 날짜 정규식
- 네이버커머스API
- 네이버 로그인 영수증 해결
- uipath 입문
- 파이썬 가상환경 설치방법
- 네이버 로그인 캡챠해결
- Python
Archives
- Today
- Total
콘솔워크
[Python pyinstaller] exe 윈도우 실행 파일 만들기 본문
반응형
1. pyinstaller 설치
pip 명령오로 pyinstaller를 설치한다.
pip install pyinstaller
2. 명령어실행
설치후에 윈도우 실행파일을 만들고자하는 파일명을 입력한다.
pyinstaller -w -F [파일명]
pyinstaller -w -F 3_simpyeongwon-kakao.py
-w 와 -F는 옵션값이다.
-F, --onefile | Create a one-file bundled executable. |
-w, --windowed, --noconsole | |
Windows and Mac OS X: do not provide a console window for standard i/o. On Mac OS X this also triggers building an OS X .app bundle. On Windows this option will be set if the first script is a ‘.pyw’ file. This option is ignored in *NIX systems. |
3. 결과확인
입력하고 나면 dist 폴더에 exe파일이 만들어진다.
관련 강의
공식문서
pyinstaller.readthedocs.io/en/stable/usage.html
Using PyInstaller — PyInstaller 4.2 documentation
Making GNU/Linux Apps Forward-Compatible Under GNU/Linux, PyInstaller does not bundle libc (the C standard library, usually glibc, the Gnu version) with the app. Instead, the app expects to link dynamically to the libc from the local OS where it runs. The
pyinstaller.readthedocs.io
반응형
'프로그래밍 > python' 카테고리의 다른 글
Python Pandas DataFrame 자주쓰는 기술모음 (0) | 2021.06.02 |
---|---|
[Python] pyinstaller 사용 시 chromedriver.exe와 같은 실행파일(exe)추가 (0) | 2021.02.14 |
[#1 python excel] 엑셀 다루기 기초 (0) | 2021.01.23 |
[나도코딩 웹스크래핑] 네이버날씨, IT헤드라인뉴스 오늘의영어회화 최종소스 (0) | 2021.01.18 |
[나도코딩 웹스크래핑) User-Agent 자동으로 가져오기 (0) | 2021.01.18 |