๊ฐ์ ํ๊ฒฝ
-
Python ํ์ด์ฌ ์ฝ๋๋ฅผ ์คํ ํ์ผ๋ก ๋ง๋ค๊ธฐ (PyInstaller)
ํ์ด์ฌ ์ฝ๋๋ฅผ ์คํ ํ์ผ๋ก ๋ง๋ค๊ธฐ (PyInstaller) ๋ค์ด๊ฐ๋ฉฐ ํ์ด์ฌ ์ฝ๋๋ฅผ ์คํ ํ์ผ(.exe)๋ก ๋ง๋ค๋ ค๋ฉด PyInstaller ํจํค์ง๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. PyInstaller๋ฅผ ์ฌ์ฉํ์ฌ ๊ฐ๋จํ๊ฒ ํ์ด์ฌ ์ฝ๋๋ฅผ ์คํ ํ์ผ๋ก ๋ง๋ค์ด๋ณด๋ ๋ฐฉ๋ฒ์ ์์๋ณด์. ๋ฐฉ๋ฒ PyInstaller ์ค์นํ๊ธฐ ํฐ๋ฏธ๋์์ ์๋์ ๋ช ๋ น์ ์คํํ์ฌ PyInstaller๋ฅผ ์ค์นํ๋ค. > pip install pyinstaller ์คํ ํ์ผ(.exe) ๋ง๋ค๊ธฐ ํ์ด์ฌ ์ฝ๋๋ก ์์ฑ๋ ํ์ผ(ํ์ด์ฌ์ฝ๋.py)์ pyinstaller ๋ช ๋ น์ ์ธ์๋ก ๋ฃ์ด์ค๋ค. > pyinstaller ์๋ฅผ ๋ค์ด, myApp.py ํ์ผ์ ์คํ ํ์ผ(.exe)๋ก ๋ง๋ค๋ ค๋ฉด ์๋์ ๊ฐ์ด ๋ช ๋ น์ ์คํํ๋ค. > pyinstaller myApp.p..
1 2023.07.03 -
Python ์๋์ฝ๋ค ํ๋กฌํํธ๋ฅผ ์ด์ฉํ์ฌ ๊ฐ์ ํ๊ฒฝ ๋ง๋ค๊ธฐ
์๋์ฝ๋ค ํ๋กฌํํธ๋ฅผ ์ด์ฉํ์ฌ ๊ฐ์ ํ๊ฒฝ ๋ง๋ค๊ธฐ ๋ค์ด๊ฐ๋ฉฐ ์๋์ฝ๋ค(Anaconda)๋ฅผ ์ค์นํ๊ณ , ๊ฐ์ ํ๊ฒฝ์ ์ง์ ๋ง๋ค์ด๋ณด์. ๊ฐ์ ํ๊ฒฝ์ ์์กด์ฑ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํ์ฌ Python 3.3 ๋ฒ์ ๋ถํฐ ์๋ก ์ถ๊ฐ๋ ๊ธฐ๋ฅ์ด๋ค. ๋ฐฉ๋ฒ ์ฐ์ ์๋์ฝ๋ค(Anaconda)๋ฅผ PC์ ์ค์นํ๋ค. Anaconda | The Worldโs Most Popular Data Science Platform Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities. www.anaconda.com ์๋์ฝ๋ค ์ค์น๋ฅผ ์๋ฃํ๋ฉด, ์๋์ฝ๋ค ํ๋กฌํํธ(..
0 2023.06.12