{"id":213,"date":"2026-05-14T18:27:49","date_gmt":"2026-05-14T10:27:49","guid":{"rendered":"https:\/\/junai.ai\/blog\/python-intro-install-1\/"},"modified":"2026-05-17T07:31:09","modified_gmt":"2026-05-16T23:31:09","slug":"python-intro-install-1","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/python-intro-install-1\/","title":{"rendered":"\ud30c\uc774\uc36c\uc774\ub780 \ubb34\uc5c7\uc778\uac00 \u2014 \uc124\uce58\uc640 \uccab \ud658\uacbd (\uc785\ubb38 1\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 580 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n\/* js-textbook \u2014 PostgreSQL \uad50\uc7ac \ub3d9\uc77c \ud314\ub808\ud2b8 *\/\n:root {\n  --color-primary: #336791;\n  --color-accent: #60a5fa;\n  --color-bg: #fafafa;\n  --color-bg-card: #ffffff;\n  --color-text: #1e293b;\n  --color-text-muted: #64748b;\n  --hero-start: #0f172a;\n  --hero-end: #336791;\n  --font-body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;\n  --size-body: 17px;\n  --line-height: 1.75;\n}\n* { box-sizing: border-box; }\n.container { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; }\n.hero { background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%); color: #fff; padding: 72px 22px 56px; text-align: center; }\n.hero .badge { display: inline-block; background: rgba(96,165,250,0.18); color: var(--color-accent); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 18px; }\n.hero h1 { margin: 0 0 18px; font-size: 36px; line-height: 1.3; letter-spacing: -0.3px; }\n.hero p.sub { margin: 0 auto; max-width: 580px; font-size: 17px; color: #bfdbfe; }\n.hero img { width: 100%; max-width: 720px; height: auto; margin: 36px auto 0; display: block; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }\n.meta { display: flex; gap: 14px; justify-content: center; margin-top: 20px; font-size: 13px; color: #93c5fd; flex-wrap: wrap; }\n.meta span::before { content: \"\u00b7\"; margin-right: 14px; color: #1e3a8a; }\n.meta span:first-child::before { content: \"\"; margin: 0; }\narticle { background: var(--color-bg-card); margin-top: -36px; padding: 44px 28px; border-radius: 14px; box-shadow: 0 2px 18px rgba(0,0,0,0.06); }\narticle p { margin: 0 0 18px; }\nh2 { font-size: 28px; line-height: 1.35; letter-spacing: -0.3px; margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); }\nh2:first-of-type { margin-top: 8px; }\nh3 { font-size: 21px; line-height: 1.4; margin: 30px 0 12px; color: var(--color-primary); }\ncode { background: #f1f5f9; color: #0f172a; padding: 2px 6px; border-radius: 4px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.92em; }\npre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; line-height: 1.65; margin: 18px 0; }\npre code { background: transparent; color: inherit; padding: 0; }\nul, ol { margin: 0 0 18px; padding-left: 24px; }\nli { margin-bottom: 8px; }\nstrong { color: #0f172a; }\n.databox { background: #eff6ff; border-left: 4px solid var(--color-primary); padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.databox p { margin: 0 0 8px; }\n.databox p:last-child { margin: 0; }\n.databox strong { color: var(--color-primary); }\n.warnbox { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-left: 4px solid #d97706; padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.warnbox strong { color: #92400e; }\n.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }\ntable { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--color-bg-card); }\nth, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }\nth { background: #f1f5f9; font-weight: 700; color: #0f172a; }\ntd:first-child, th:first-child { font-weight: 700; }\n.cta { background: linear-gradient(135deg, #336791 0%, #60a5fa 100%); color: #fff; padding: 30px 24px; border-radius: 12px; margin-top: 44px; text-align: center; }\n.cta h3 { color: #fff; margin: 0 0 10px; }\n.cta p { margin: 0; color: #dbeafe; }\n.series-nav { background: #eff6ff; padding: 18px 22px; border-radius: 10px; margin-top: 24px; font-size: 14.5px; color: var(--color-text-muted); }\n.series-nav strong { color: var(--color-primary); }\n@media (max-width: 480px) {\n  .hero { padding: 52px 18px 44px; }\n  .hero h1 { font-size: 26px; }\n  .hero p.sub { font-size: 15px; }\n  article { padding: 28px 18px; border-radius: 10px; }\n  h2 { font-size: 22px; }\n  h3 { font-size: 18px; }\npre { font-size: 13px; padding: 14px 16px; }\n}\n@media (max-width: 560px) {\n  .tablewrap table, .tablewrap thead, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td { display: block; width: auto; }\n  .tablewrap thead { display: none; }\n  .tablewrap tr { margin: 0 0 14px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }\n  .tablewrap td { border: none; border-bottom: 1px solid #f1f5f9; padding: 9px 14px; }\n  .tablewrap td:first-child { background: #eff6ff; font-weight: 800; font-size: 15.5px; }\n  .tablewrap td:last-child { border-bottom: none; }\n  .tablewrap td[data-label]::before { content: attr(data-label) \" \u2014 \"; font-weight: 700; color: var(--color-primary); }\n}\n<\/style>\n<header class=\"hero\">\n  <span class=\"badge\">\ud30c\uc774\uc36c \uad50\uc7ac \u00b7 1\ud3b8 \/ 27\ud3b8<\/span>\n  <h1>\ud30c\uc774\uc36c\uc774\ub780 \ubb34\uc5c7\uc778\uac00 \u2014 \uc124\uce58\uc640 \uccab \ud658\uacbd<\/h1>\n  <p class=\"sub\">\uc5b8\uc5b4 \uc18c\uac1c\u00b7\ubc84\uc804 \uc120\ud0dd\u00b7OS\ubcc4 5\ubd84 \uc124\uce58\u00b7\uccab \uc2e4\ud589\uae4c\uc9c0. \ucc45 \ud55c \uad8c\uc758 \uc2dc\uc791.<\/p>\n  <div class=\"meta\"><span>\uc785\ubb38<\/span><span>\uc77d\ub294 \uc2dc\uac04 6\ubd84<\/span><span>2026-05-13<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-199.jpg\" alt=\"\ud30c\uc774\uc36c REPL\uc5d0\uc11c print('Hello, Python!') \uc640 1+2=3 \uc744 \ubcf4\uc5ec\uc8fc\ub294 \ud130\ubbf8\ub110 \ud654\uba74\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>\uac15\uc758 \uccab\ub0a0 \ub178\ud2b8\ubd81 30\ub300 \uc911 11\ub300\uac00 \uac19\uc740 \uc790\ub9ac\uc5d0\uc11c \uba48\ucda5\ub2c8\ub2e4. \uc708\ub3c4\uc6b0\uc5d0\uc11c <code>python<\/code> \uc744 \ucce4\ub294\ub370 <em>&#8216;python&#8217;\uc740 \ub0b4\ubd80 \ub610\ub294 \uc678\ubd80 \uba85\ub839\uc774 \uc544\ub2d9\ub2c8\ub2e4<\/em> \uac00 \ub5a0\uc11c\uc694. <strong>PATH \uccb4\ud06c\ubc15\uc2a4 \ud558\ub098<\/strong>\ub97c \ub193\uce5c \uacb0\uacfc. \ubaa8\ub4e0 \uc785\ubb38\uc11c\uac00 1\uc7a5\uc5d0\uc11c \uc801\ub2f9\ud788 \ub2e4\ub8e8\uace0 \ub118\uc5b4\uac00\uc11c \uac00\uc7a5 \ub9ce\uc774 \ub9c9\ud788\ub294 \uc9c0\uc810\uc774 \uc124\uce58\uc8e0. 1\ud3b8\uc740 \ubb38\ubc95 \uc804\uc5d0 &#8220;\uc5b4\ub5bb\uac8c \uae54\uace0 \uc5b4\ub5bb\uac8c \uc2e4\ud589\ud558\ub294\uac00&#8221; \ubd80\ud130 \uc815\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n\n<h2>\uc65c \uc785\ubb38 1\uc21c\uc704\uac00 \ud30c\uc774\uc36c\uc778\uac00<\/h2>\n\n<p>2026\ub144 TIOBE 5\ub144 \uc5f0\uc18d 1\uc704. \uc778\uae30\ubfd0 \uc544\ub2c8\ub77c <strong>\uc785\ubb38\uc790 \uae30\uc900<\/strong> \uac1d\uad00\uc801 \uac15\uc810\uc774 \uc14b\uc785\ub2c8\ub2e4.<\/p>\n\n<p><strong>\uc77d\ud788\ub294 \ubb38\ubc95.<\/strong> \ub4e4\uc5ec\uc4f0\uae30\ub85c \uad6c\uc870\ub97c \ub9cc\ub4e4\uc5b4 \uccab \ud55c \uc2dc\uac04\uc774\uba74 <code>for i in range(10): print(i)<\/code> \uac19\uc740 \ucf54\ub4dc\ub97c \uc9d0\uc791\ud569\ub2c8\ub2e4. \uc601\uc5b4 \uc758\uc0ac\ucf54\ub4dc\uac00 \uadf8\ub300\ub85c \ub3d9\uc791\ud558\ub294 \uc5b8\uc5b4.<\/p>\n\n<p><strong>\uc77c\uc774 \ube68\ub9ac \ub05d\ub0a8.<\/strong> \uc790\ubc14 50\uc904\uc9dc\ub9ac \uc791\uc5c5\uc774 \ud30c\uc774\uc36c\uc740 12~18\uc904. \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0 CSV\u00b7JSON\u00b7HTTP\u00b7\uc774\uba54\uc77c\uc774 \ub2e4 \uc788\uc5b4 <em>&#8220;\uc5d1\uc140\uc5d0\uc11c \ud569\uacc4 \ubf51\uc544 \uba54\uc77c \ubcf4\ub0b4\uae30&#8221;<\/em> \uac00 \uc678\ubd80 \ud328\ud0a4\uc9c0 \uc5c6\uc774 \ub429\ub2c8\ub2e4.<\/p>\n\n<p><strong>\uc77c\uac70\ub9ac\uac00 \ub9ce\uc74c.<\/strong> \ub370\uc774\ud130\u00b7\uc6f9\u00b7\uc790\ub3d9\ud654\u00b7\uba38\uc2e0\ub7ec\ub2dd\u00b7LLM \u2014 \ucc44\uc6a9 \uacf5\uace0 &#8220;\ud30c\uc774\uc36c&#8221; \ud55c \uc904\uc774 \ub2e4\ub978 \uc5b8\uc5b4 \ud569\uce5c \uac83\ubcf4\ub2e4 \ub9ce\uc2b5\ub2c8\ub2e4.<\/p>\n\n<div class=\"databox\">\n  <p><strong>\ud83d\udcca \uc22b\uc790\ub85c \ubcf4\ub294 \ud30c\uc774\uc36c \uc704\uc0c1<\/strong><\/p>\n  <p>\u00b7 TIOBE Index 2026-04 1\uc704 (\uc810\uc720 16.9%) \u2014 2\uc704 C++ \uc758 \uac70\uc758 2\ubc30<\/p>\n  <p>\u00b7 \uae43\ud5c8\ube0c 2025 \u2014 \uc2e0\uaddc \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac \uc5b8\uc5b4 1\uc704, 17\ub144 \ub9cc\uc5d0 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucd94\uc6d4<\/p>\n  <p>\u00b7 \ubbf8 \ub178\ub3d9\ud1b5\uacc4\uad6d \u2014 \ub370\uc774\ud130\u00b7ML \uc9c1\uad70 2030\ub144\uae4c\uc9c0 36% \uc131\uc7a5 \uc804\ub9dd, \ud575\uc2ec \uc5b8\uc5b4 \ud30c\uc774\uc36c<\/p>\n<\/div>\n\n<p>\ub2e8\uc810\uc740 <strong>\uc18d\ub3c4<\/strong>. C \ub300\ube44 20~50\ubc30 \ub290\ub824\uc694. \ub2e4\ub9cc \ud3c9\uc18c \ucf54\ub4dc\uc758 95% \ub294 \uadf8 \ucc28\uc774\ub97c \ub290\ub07c\uc9c0 \ubabb\ud558\uace0, \uc9c4\uc9dc \uc18d\ub3c4\uac00 \ud544\uc694\ud55c \ubd80\ubd84\uc740 NumPy\u00b7PyTorch \uac00 \ub0b4\ubd80\uc801\uc73c\ub85c C \ub85c \ub3d5\ub2c8\ub2e4.<\/p>\n\n<h2>\uc5b4\ub5a4 \ubc84\uc804\uc744 \uae54\uae4c \u2014 3.12 LTS \uac00 \uac70\uc758 \ud56d\uc0c1 \ub2f5<\/h2>\n\n<p>\uc124\uce58 \ud398\uc774\uc9c0\ub97c \uc5f4\uba74 3.13, 3.12, 3.11 \uc774 \uc904\uc9c0\uc5b4 \uc788\uace0, \uc606\uc5d0\ub294 Anaconda \ub77c\ub294 \uac70\ub300\ud55c \ubc30\ud3ec\ud310\ub3c4 \ubcf4\uc785\ub2c8\ub2e4. \uacb0\ub860\ubd80\ud130 \ub9d0\ud558\uba74 <strong>2026\ub144 \uc785\ubb38\uc790\uc5d0\uac8c\ub294 Python 3.12 \uacf5\uc2dd \uc778\ud130\ud504\ub9ac\ud130<\/strong>\uac00 \uc815\ub2f5\uc785\ub2c8\ub2e4. \uc65c\uc778\uc9c0 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th>\uc635\uc158<\/th><th>\ubc84\uc804\u00b7\uc6a9\ub7c9<\/th><th>\ub204\uad6c\uc5d0\uac8c \ub9de\ub098<\/th><th>\uc785\ubb38\uc790 \ucd94\ucc9c?<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td>Python 3.12<\/td><td data-label=\"\ubc84\uc804\u00b7\uc6a9\ub7c9\">3.12.x \u00b7 \uc57d 120MB<\/td><td data-label=\"\ub204\uad6c\uc5d0\uac8c \ub9de\ub098\">\ub300\ubd80\ubd84\uc758 \ud559\uc2b5\u00b7\uc790\ub3d9\ud654\u00b7\uc6f9<\/td><td data-label=\"\uc785\ubb38\uc790 \ucd94\ucc9c?\">\u2b50 \ucd5c\uc6b0\uc120<\/td><\/tr>\n    <tr><td>Python 3.13<\/td><td data-label=\"\ubc84\uc804\u00b7\uc6a9\ub7c9\">3.13.x \u00b7 \uc57d 120MB<\/td><td data-label=\"\ub204\uad6c\uc5d0\uac8c \ub9de\ub098\">\uc2e4\ud5d8\u00b7\ucd5c\uc2e0 \uae30\ub2a5 \ud638\uae30\uc2ec<\/td><td data-label=\"\uc785\ubb38\uc790 \ucd94\ucc9c?\">3\uac1c\uc6d4 \ub4a4 OK<\/td><\/tr>\n    <tr><td>Python 3.11<\/td><td data-label=\"\ubc84\uc804\u00b7\uc6a9\ub7c9\">3.11.x \u00b7 \uc57d 110MB<\/td><td data-label=\"\ub204\uad6c\uc5d0\uac8c \ub9de\ub098\">\ud68c\uc0ac \ub808\uac70\uc2dc \ucf54\ub4dc \ud569\ub958<\/td><td data-label=\"\uc785\ubb38\uc790 \ucd94\ucc9c?\">\uc2dc\ud0a8 \uc0ac\ub78c\ub9cc<\/td><\/tr>\n    <tr><td>Anaconda<\/td><td data-label=\"\ubc84\uc804\u00b7\uc6a9\ub7c9\">\ub3d9\ubd09 3.12 \u00b7 \uc57d 3GB<\/td><td data-label=\"\ub204\uad6c\uc5d0\uac8c \ub9de\ub098\">\uace0\uae09 \ub370\uc774\ud130 \ubd84\uc11d\uac00<\/td><td data-label=\"\uc785\ubb38\uc790 \ucd94\ucc9c?\">\u274c \ube44\ucd94<\/td><\/tr>\n    <tr><td>pyenv<\/td><td data-label=\"\ubc84\uc804\u00b7\uc6a9\ub7c9\">\ubc84\uc804 \ub9e4\ub2c8\uc800 \u00b7 200MB+<\/td><td data-label=\"\ub204\uad6c\uc5d0\uac8c \ub9de\ub098\">\uc5ec\ub7ec \ubc84\uc804 \ubcd1\ud589 \uac1c\ubc1c\uc790<\/td><td data-label=\"\uc785\ubb38\uc790 \ucd94\ucc9c?\">2\ub144 \ub4a4 OK<\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h3>\uc65c 3.12 \uc774\uace0 \uc65c 3.13 \uc774 \uc544\ub2cc\uac00<\/h3>\n\n<p>3.12 \ub294 2023\ub144 10\uc6d4 \ucd9c\uc2dc\ub418\uc5b4 2\ub144\uc774 \uc9c0\ub09c \uc9c0\uae08 <strong>\ub77c\uc774\ube0c\ub7ec\ub9ac \ud638\ud658\uc131\uc774 \uac00\uc7a5 \ub450\ud141\uc2b5\ub2c8\ub2e4<\/strong> \u2014 pandas\u00b7numpy\u00b7django\u00b7fastapi \ubaa8\ub450 \uacf5\uc2dd \uc9c0\uc6d0. 3.13(2024\ub144 10\uc6d4) \uc740 \uc790\uc720 \uc2a4\ub808\ub529\u00b7JIT \ubbf8\ub9ac\ubcf4\uae30\uac00 \ub4e4\uc5b4\uc654\uc9c0\ub9cc <em>&#8220;3.13 \ubbf8\uc9c0\uc6d0&#8221;<\/em> \ud328\ud0a4\uc9c0\ub97c \ub9cc\ub098\uba74 \uc785\ubb38\uc790\uac00 \ud480\uae30 \uc5b4\ub824\uc6cc\uc694.<\/p>\n\n<h3>\uc785\ubb38\uc790\uc5d0\uac8c Anaconda \ub294 \uc0ac\uc2e4 \ud568\uc815<\/h3>\n\n<p><em>&#8220;\ub370\uc774\ud130 \ubd84\uc11d\uc740 Anaconda&#8221;<\/em> \uac00\uc774\ub4dc\ub97c \uc790\uc8fc \ubd05\ub2c8\ub2e4. \uc704\ud5d8\ud55c \uc808\ubc18:<\/p>\n\n<ul>\n  <li><strong>\uc6a9\ub7c9 3GB+<\/strong> \u2014 \ud68c\uc0ac \ubcf4\uc548 \uc815\ucc45\uc5d0 \ub9c9\ud798. \ub300\uae30\uc5c5 \ub370\uc774\ud130\ud300 \uc2e0\uc785\uc774 \uc785\uc0ac \uccab\uc8fc IT \ud5ec\ud504\ub370\uc2a4\ud06c \ub2e8\uace8 \uc0ac\uc5f0<\/li>\n  <li><strong>\ubc84\uc804 \ucda9\ub3cc<\/strong> \u2014 \uc2dc\uc2a4\ud15c\u00b7Anaconda\u00b7\ud68c\uc0ac\ud45c\uc900 \uc14b\uc774 \uc5c9\ucf1c <code>pip<\/code> \ud328\ud0a4\uc9c0 \ud589\ubc29 \ucd94\uc801 \ubd88\uac00<\/li>\n  <li><strong>\ud559\uc2b5 \ud6a8\uacfc \uc800\ud558<\/strong> \u2014 \uac00\uc0c1\ud658\uacbd\uc744 \uc9c1\uc811 \uc548 \ud574\ubd10\uc11c \ub3d9\ub8cc \ucf54\ub4dc \ud658\uacbd\uc744 \uc7ac\ud604 \ubabb\ud568<\/li>\n<\/ul>\n\n<p><strong>\uc785\ubb38\uc790\ub294 \uacf5\uc2dd \ud30c\uc774\uc36c + <code>pip<\/code><\/strong> \ub85c \uc2dc\uc791, \uac00\uc0c1\ud658\uacbd(16\ud3b8) \uc775\ud78c \ub4a4 \ub3c4\uad6c \uace0\ub974\uae30. pyenv \ub3c4 \uac19\uc740 \uc774\uc720\ub85c \ubbf8\ub8e8\uc138\uc694.<\/p>\n\n<h2>5\ubd84 \uc124\uce58 \u2014 \uc6b0\ubd84\ud22c\u00b7\ub9e5\u00b7\uc708\ub3c4\uc6b0<\/h2>\n\n<p>OS \ubcc4\ub85c \uba85\ub839\uc774 \ub2e4\ub985\ub2c8\ub2e4. \ubcf8\uc778 \ud658\uacbd \uc139\uc158\uc73c\ub85c \ubc14\ub85c \uc810\ud504\ud558\uc138\uc694. \ub05d\ub098\uba74 <code>python3 --version<\/code> \uc774 <code>Python 3.12.x<\/code> \ub97c \ubc49\uc73c\uba74 \uc131\uacf5\uc785\ub2c8\ub2e4.<\/p>\n\n<h3>\uc6b0\ubd84\ud22c\u00b7\ub9ac\ub205\uc2a4 (apt \ud55c \uc904)<\/h3>\n\n<pre><code>sudo apt update\nsudo apt install -y python3.12 python3.12-venv python3-pip\npython3 --version<\/code><\/pre>\n\n<p>\uc6b0\ubd84\ud22c 24.04 \uc774\uc0c1\uc774\uba74 \uae30\ubcf8 \uc800\uc7a5\uc18c\uc5d0 3.12 \uac00 \ub4e4\uc5b4\uc788\uc5b4 \ucd94\uac00 PPA \uac00 \ud544\uc694 \uc5c6\uc2b5\ub2c8\ub2e4. <code>python3.12-venv<\/code> \ub294 16\ud3b8\uc5d0\uc11c \uc4f8 \uac00\uc0c1\ud658\uacbd \ud328\ud0a4\uc9c0\ub77c \uac19\uc774 \uae54\uc544\ub450\uba74 \ud3b8\ud574\uc694. <code>python3-pip<\/code> \uac00 \ud328\ud0a4\uc9c0 \uc124\uce58 \uba85\ub839\uc5b4 <code>pip<\/code> \ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n\n<h3>\ub9e5 (Homebrew \uad8c\uc7a5)<\/h3>\n\n<pre><code># Homebrew \uac00 \uc5c6\uc73c\uba74 \uba3c\uc800 \uc124\uce58\n\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\n\nbrew install python@3.12\npython3 --version<\/code><\/pre>\n\n<p>\ub9e5OS \uc2dc\uc2a4\ud15c \ud30c\uc774\uc36c(2.7\/3.9) \uc740 \uc560\ud50c \uc804\uc6a9\uc774\ub77c \ub9cc\uc9c0\uba74 \uc548 \ub429\ub2c8\ub2e4. Homebrew \ud30c\uc774\uc36c\uc740 \ubcc4\ub3c4 \uacbd\ub85c\uc5d0 \ub4e4\uc5b4\uac00 \ubd84\ub9ac\ub3fc\uc694. \uc124\uce58 \ud6c4 \uc0c8 \ud130\ubbf8\ub110 \ucc3d\uc744 \uc5f4\uc5b4\uc57c PATH \uac00 \uc7a1\ud799\ub2c8\ub2e4.<\/p>\n\n<h3>\uc708\ub3c4\uc6b0 (\uacf5\uc2dd \uc778\uc2a4\ud1a8\ub7ec)<\/h3>\n\n<p><a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">python.org\/downloads<\/a> \uc5d0\uc11c <strong>Windows installer (64-bit)<\/strong> \ub97c \uc2e4\ud589. \uccab \ud654\uba74 \ub9e8 \uc544\ub798 <strong>&#8220;Add python.exe to PATH&#8221;<\/strong> \uccb4\ud06c\ubc15\uc2a4\ub97c <em>\ubc18\ub4dc\uc2dc \ucf1c\uace0<\/em> Install Now. \uc774 \ubc15\uc2a4\ub97c \ub193\uce58\uba74 \uac15\uc758\uc2e4 30\uba85 \uc911 11\uba85\uc774 \uccab \uc2dc\uac04\uc744 \ub0a0\ub9bd\ub2c8\ub2e4.<\/p>\n\n<div class=\"warnbox\">\n  <strong>\uc708\ub3c4\uc6b0 \ud568\uc815 2\uac00\uc9c0:<\/strong> \u2460 &#8220;Add python.exe to PATH&#8221; \uccb4\ud06c \ub204\ub77d \u2014 \uc7ac\uc124\uce58 \ub610\ub294 \ud658\uacbd \ubcc0\uc218 \uc218\ub3d9 \ud3b8\uc9d1 \ud544\uc694. \u2461 Microsoft Store \uc758 Python \uc571\uc740 \ud3f4\ub354 \uad8c\ud55c \uc81c\uc57d\uc73c\ub85c \uc77c\ubd80 \ud328\ud0a4\uc9c0 \uc124\uce58\uac00 \uc2e4\ud328. python.org \uacf5\uc2dd \uc778\uc2a4\ud1a8\ub7ec\ub97c \ubc1b\uc73c\uc138\uc694.\n<\/div>\n\n<p>\uc124\uce58 \ud6c4 PowerShell \uc744 \uc0c8\ub85c \uc5f4\uace0 <code>python --version<\/code> \uc73c\ub85c \ud655\uc778. <em>&#8216;python&#8217;\uc740 \ub0b4\ubd80 \ub610\ub294 \uc678\ubd80&#8230;&#8217;<\/em> \uac00 \ub728\uba74 PATH \uccb4\ud06c \uc2e4\ud328 \u2192 \uc7ac\uc124\uce58.<\/p>\n\n<h2>\uccab \uc2e4\ud589 \u2014 REPL \uacfc \uccab .py \ud30c\uc77c<\/h2>\n\n<p>\uc124\uce58\uac00 \ub05d\ub0ac\uc73c\uba74 \ud30c\uc774\uc36c\uacfc \ub300\ud654\ud558\ub294 \ub450 \uac00\uc9c0 \ubc29\ubc95\uc744 \uc2dc\ub3c4\ud569\ub2c8\ub2e4. <strong>REPL<\/strong>(\ub300\ud654\ud615 \uc178) \uacfc <strong>\uc2a4\ud06c\ub9bd\ud2b8 \ud30c\uc77c<\/strong>. \ub458 \ub2e4 \ud3c9\uc0dd \uc501\ub2c8\ub2e4.<\/p>\n\n<h3>REPL \u2014 \uc989\uc11d \uacc4\uc0b0\uae30<\/h3>\n\n<p>\ud130\ubbf8\ub110\uc5d0\uc11c <code>python3<\/code> (\uc708\ub3c4\uc6b0 <code>python<\/code>) \uc785\ub825. <code>&gt;&gt;&gt;<\/code> \ud504\ub86c\ud504\ud2b8\uac00 \ub728\uba74 \ud55c \uc904\uc529 \uc989\uc2dc \uacb0\uacfc \ud655\uc778.<\/p>\n\n<pre><code>&gt;&gt;&gt; print(\"Hello, Python!\")\nHello, Python!\n&gt;&gt;&gt; 1 + 2 * 3\n7\n&gt;&gt;&gt; name = \"\uc900\uc131\"\n&gt;&gt;&gt; f\"\uc548\ub155, {name}!\"\n'\uc548\ub155, \uc900\uc131!'\n&gt;&gt;&gt; exit()<\/code><\/pre>\n\n<p>REPL \uc740 <strong>&#8220;\uc774\uac70 \uc774\ub807\uac8c \uc4f0\uba74 \ub418\ub098&#8221;<\/strong> \uac00 \ub5a0\uc624\ub97c \ub54c 5\ucd08 \ud655\uc778\uc6a9. 7\ub144 \ucc28 \uac1c\ubc1c\uc790\ub3c4 \ub9e4\uc77c \ucf2d\ub2c8\ub2e4. \ube60\uc838\ub098\uc62c \ub550 <code>exit()<\/code> \ub610\ub294 <kbd>Ctrl+D<\/kbd> (\uc708\ub3c4\uc6b0 <kbd>Ctrl+Z<\/kbd> Enter).<\/p>\n\n<h3>\uccab .py \ud30c\uc77c<\/h3>\n\n<p>REPL \uc740 \ucc3d\uc744 \ub2eb\uc73c\uba74 \uc0ac\ub77c\uc838\uc694. \ud30c\uc77c\ub85c \uc800\uc7a5\ud574\uc57c \ub2e4\uc2dc \ub3cc\ub9bd\ub2c8\ub2e4. \uba54\ubaa8\uc7a5\ub3c4 \ub418\uc9c0\ub9cc <a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noopener\">VS Code<\/a> \uad8c\uc7a5. \ud3f4\ub354 \ub9cc\ub4e4\uace0 <code>hello.py<\/code>:<\/p>\n\n<pre><code># hello.py \u2014 \uccab \ud30c\uc774\uc36c \ud30c\uc77c\nname = input(\"\uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694: \")\nprint(f\"\uc548\ub155\ud558\uc138\uc694, {name}\ub2d8!\")\nprint(f\"\uc774\ub984 \uae00\uc790 \uc218: {len(name)}\")<\/code><\/pre>\n\n<p>\ud130\ubbf8\ub110\uc5d0\uc11c \uadf8 \ud3f4\ub354\ub85c <code>cd<\/code> \ud6c4 <code>python3 hello.py<\/code> (\uc708\ub3c4\uc6b0 <code>python hello.py<\/code>). 3\uc904\uc9dc\ub9ac\uc9c0\ub9cc <strong>\uc785\ub825\u00b7\ubcc0\uc218\u00b7\ud568\uc218 \ud638\ucd9c\u00b7f-string\u00b7\ub0b4\uc7a5 \ud568\uc218(len)<\/strong> \ub2e4\uc12f \uac00\uc9c0\uac00 \ub2e4 \ub4e4\uc5b4\uc788\uc5b4\uc694. 2\ud3b8\uc5d0\uc11c \ud55c \uc904\uc529 \ud574\ubd80\ud569\ub2c8\ub2e4.<\/p>\n\n<div class=\"databox\">\n  <p><strong>\u2705 1\ud3b8 \uc878\uc5c5 \uccb4\ud06c\ub9ac\uc2a4\ud2b8<\/strong><\/p>\n  <p>\u2460 <code>python3 --version<\/code> \uc774 <code>Python 3.12.x<\/code> \ucd9c\ub825 \u00b7 \u2461 REPL \uc5d0\uc11c <code>print(\"hi\")<\/code> \ub3d9\uc791 \u00b7 \u2462 <code>hello.py<\/code> \uc791\uc131 \ud6c4 <code>python3 hello.py<\/code> \uc2e4\ud589<\/p>\n  <p>\uc138 \uac1c \ub2e4 \u2713 \uc774\uba74 2\ud3b8\uc73c\ub85c. \ub9c9\ud614\uc73c\uba74 \ubcf4\ud1b5 PATH \ub610\ub294 \ubc84\uc804 \ucda9\ub3cc\uc774 \uc6d0\uc778.<\/p>\n<\/div>\n\n<h2>\ub9c8\ubb34\ub9ac \u2014 \uc5b4\ub514\ubd80\ud130 \ub9c9\ud614\ub098\uac00 \uac00\uc7a5 \uc911\uc694\ud55c \uc815\ubcf4<\/h2>\n\n<p>\ud30c\uc774\uc36c\uc740 <strong>\uac00\ubccd\uac8c \uc2dc\uc791\ud574\uc11c \uc624\ub798 \uac00\ub294 \uc5b8\uc5b4<\/strong>\uc785\ub2c8\ub2e4. \ucc98\uc74c\ubd80\ud130 Anaconda\u00b7pyenv \uac19\uc740 \ubb34\uac70\uc6b4 \ub3c4\uad6c\ub97c \uae54\uba74 \ud559\uc2b5\uc774 \uba48\ucdb0\uc694. \uacf5\uc2dd 3.12 \ud55c \uc904\ub85c \uc2dc\uc791\ud574 REPL\u00b7\ud30c\uc77c \uc2e4\ud589\uc744 \uc190\uc5d0 \uc775\ud788\uace0, \ub9c9\ud790 \ub54c\ub9c8\ub2e4 \uadf8 \ub3c4\uad6c\uac00 \uc815\ub9d0 \ud544\uc694\ud55c\uc9c0 \uc790\ubb38. \ub9c9\ud614\ub2e4\uba74 \uc5b4\ub514\uc11c \uba48\ucdc4\ub294\uc9c0\uac00 \uac00\uc7a5 \uc911\uc694\ud55c \uc815\ubcf4\uc785\ub2c8\ub2e4 \u2014 <em>&#8220;<code>python<\/code> \uba85\ub839\uc774 \uc5c6\ub2e4&#8221;<\/em> \ub294 PATH, <em>&#8220;\uad8c\ud55c \uac70\ubd80&#8221;<\/em> \ub294 sudo, <em>&#8220;2.7 \uc774 \ub098\uc634&#8221;<\/em> \uc740 <code>python3<\/code> \uc0ac\uc6a9. \ubaa8\ub4e0 \uc624\ub958 \uba54\uc2dc\uc9c0\ub294 \uac80\uc0c9\ud558\uba74 99% \ub204\uad70\uac00 \uacaa\uc740 \ubb38\uc81c\uc608\uc694.<\/p>\n\n<div class=\"cta\">\n  <h3>\ub2e4\uc74c \ud3b8 \ubbf8\ub9ac\ubcf4\uae30<\/h3>\n  <p>2\ud3b8 \u2014 &#8220;\ud30c\uc774\uc36c \uccab \ud504\ub85c\uadf8\ub7a8&#8221;: <code>hello.py<\/code> \uc758 \uc138 \uc904\uc744 \uba85\ub839\uc5b4 \ub2e8\uc704\ub85c \ud574\ubd80\ud558\uace0, \uc785\ub825\u00b7\ucd9c\ub825\u00b7\ubb38\uc790\uc5f4 \ud3ec\ub9f7\ud305\u00b7\ub0b4\uc7a5 \ud568\uc218\ub97c \ucc98\uc74c \ub9cc\ub098\ubd05\ub2c8\ub2e4.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda 27\ud3b8 \ud30c\uc774\uc36c \uad50\uc7ac \uc2dc\ub9ac\uc988 \u2014 1\/27\ud3b8<\/strong><br>\n  \u2190 \uc774\uc804: (\uc2dc\uc791) \u00b7 \ub2e4\uc74c: 2\ud3b8 &#8220;\ud30c\uc774\uc36c \uccab \ud504\ub85c\uadf8\ub7a8 \u2014 input\u00b7print\u00b7f-string&#8221;\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ud30c\uc774\uc36c\uc774 \uc65c \uc785\ubb38 1\uc21c\uc704\uc778\uc9c0, 3.12 vs Anaconda \uc911 \ubb34\uc5c7\uc744 \uae54\uc9c0, \uc6b0\ubd84\ud22c\u00b7\ub9e5\u00b7\uc708\ub3c4\uc6b0 5\ubd84 \uc124\uce58, REPL \uccab \uc2e4\ud589\uae4c\uc9c0. 27\ud3b8 \ud30c\uc774\uc36c \uad50\uc7ac 1\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":580,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":1,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/213\/revisions\/607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/580"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}