{"id":224,"date":"2026-05-14T21:48:38","date_gmt":"2026-05-14T13:48:38","guid":{"rendered":"https:\/\/junai.ai\/blog\/python-import-11\/"},"modified":"2026-05-14T21:48:38","modified_gmt":"2026-05-14T13:48:38","slug":"python-import-11","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/python-import-11\/","title":{"rendered":"\ud30c\uc774\uc36c \ubaa8\ub4c8 import \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ud65c\uc6a9 (11\ud3b8)"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"ko\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>\ud30c\uc774\uc36c \ubaa8\ub4c8 import \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ud65c\uc6a9 (11\ud3b8)<\/title>\n<meta name=\"description\" content=\"import\u00b7from\u00b7as \ubb38\ubc95\uacfc random\u00b7datetime\u00b7os\u00b7json\u00b7math \ub4f1 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub2e8\uace8 8\uc885. 27\ud3b8 \uad50\uc7ac 11\ud3b8.\">\n<meta name=\"keywords\" content=\"\ud30c\uc774\uc36c import, \ud30c\uc774\uc36c \ubaa8\ub4c8, python \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac, python random, python datetime, \ud30c\uc774\uc36c \uc785\ubb38\">\n<meta name=\"author\" content=\"JUNAI\">\n<meta property=\"og:type\" content=\"article\">\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ubaa8\ub4c8 import \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ud65c\uc6a9 (11\ud3b8)\">\n<meta property=\"og:description\" content=\"import \ubb38\ubc95\uacfc \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub2e8\uace8 8\uc885. random\u00b7datetime\u00b7os\u00b7json\u00b7math. 27\ud3b8 \uad50\uc7ac 11\ud3b8.\">\n<meta property=\"og:image\" content=\"https:\/\/junai.ai\/warehouse\/projects\/python-import-11\/og.png\">\n<meta property=\"og:url\" content=\"https:\/\/junai.ai\/blog\/python-import-11\/\">\n<meta name=\"twitter:card\" content=\"summary_large_image\">\n<style>\n:root{--color-primary:#1e40af;--color-accent:#3b82f6;--color-bg:#fafafa;--color-bg-card:#fff;--color-text:#1e293b;--color-text-muted:#64748b;--hero-start:#0f172a;--hero-end:#1e40af;--font-body:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;--size-body:17px;--line-height:1.75;}\n*{box-sizing:border-box;}\nbody{margin:0;padding:0;font-family:var(--font-body);font-size:var(--size-body);line-height:var(--line-height);color:var(--color-text);background:var(--color-bg);word-break:keep-all;}\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(251,191,36,0.18);color:#fbbf24;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:#cbd5e1;}\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:#94a3b8;flex-wrap:wrap;}\n.meta span::before{content:\"\u00b7\";margin-right:14px;color:#475569;}\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;}.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,#1e40af 0%,#3b82f6 100%);color:#fff;padding:30px 24px;border-radius:12px;margin-top:44px;text-align:center;}\n.cta h3{color:#fff;margin:0 0 10px;}.cta p{margin:0;color:#dbeafe;}\n.series-nav{background:#f1f5f9;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){.hero{padding:52px 18px 44px;}.hero h1{font-size:26px;}.hero p.sub{font-size:15px;}article{padding:28px 18px;border-radius:10px;}h2{font-size:22px;}h3{font-size:18px;}body{font-size:16px;}pre{font-size:13px;padding:14px 16px;}}\n@media (max-width:560px){.tablewrap table,.tablewrap thead,.tablewrap tbody,.tablewrap tr,.tablewrap th,.tablewrap td{display:block;width:auto;}.tablewrap thead{display:none;}.tablewrap tr{margin:0 0 14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;}.tablewrap td{border:none;border-bottom:1px solid #f1f5f9;padding:9px 14px;}.tablewrap td:first-child{background:#f1f5f9;font-weight:800;font-size:15.5px;}.tablewrap td:last-child{border-bottom:none;}.tablewrap td[data-label]::before{content:attr(data-label) \" \u2014 \";font-weight:700;color:var(--color-primary);}}\n<\/style>\n<\/head>\n<body><a href=\"https:\/\/junai.ai\/cdn-cgi\/content?id=UUnTNOsoepdoES6Wdas9ssrUm3_c76sJj4AhApFzcJM-1778766516.3124883-1.0.1.1-IFdIOgCTA5jiCjnPfQAKI0LfnfXb4ZXsnP3s2ub.XIk\" aria-hidden=\"true\" rel=\"nofollow noopener\" style=\"display: none !important; visibility: hidden !important\"><\/a>\n<header class=\"hero\">\n  <span class=\"badge\">\ud30c\uc774\uc36c \uad50\uc7ac \u00b7 11\ud3b8 \/ 27\ud3b8<\/span>\n  <h1>\ud30c\uc774\uc36c \ubaa8\ub4c8 import \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac<\/h1>\n  <p class=\"sub\">\ub0a8\ub4e4\uc774 \uc9dc\ub454 \ub3c4\uad6c\ub97c \ud55c \uc904\ub85c \uac00\uc838\ub2e4 \uc4f0\uae30. \uc790\ub3d9\ud654 \ud55c \ub2ec\uc758 \ubd84\uae30\uc810.<\/p>\n  <div class=\"meta\"><span>\uc785\ubb38<\/span><span>\uc77d\ub294 \uc2dc\uac04 7\ubd84<\/span><span>2026-05-13<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/warehouse\/projects\/python-import-11\/hero.jpg\" alt=\"import random, datetime, json \ub4f1 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud65c\uc6a9\ud558\ub294 \ucf54\ub4dc \ud654\uba74\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>1\ud3b8 &#8220;\uc77c\uc774 \ube68\ub9ac \ub05d\ub0a8&#8221; \uc758 \ube44\ubc00\uc774 \uc5ec\uae30 \uc788\uc2b5\ub2c8\ub2e4. \ud30c\uc774\uc36c\uc5d0\ub294 <strong>200\uac1c \ub118\ub294 \ubaa8\ub4c8\uc774 \uae30\ubcf8 \uc124\uce58<\/strong>\ub418\uc5b4 \uc788\uc5b4\uc694. \ub79c\ub364 \uc22b\uc790\u00b7\ub0a0\uc9dc\u00b7\ud30c\uc77c \uc2dc\uc2a4\ud15c\u00b7JSON\u00b7HTTP\u00b7\uc555\ucd95\u00b7\uc554\ud638\ud654\u00b7\uc815\uaddc\uc2dd \u2014 \uc678\ubd80 \ud328\ud0a4\uc9c0(<code>pip install<\/code>) \uc5c6\uc774\ub3c4 \uac70\uc758 \ub2e4 \uc81c\uacf5\ub429\ub2c8\ub2e4. \uc774\uac78 <strong>\ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac<\/strong>(standard library) \ub77c \ubd80\ub974\uace0, \uc785\ubb38\uc790\uac00 \ucc98\uc74c\uc73c\ub85c <em>&#8220;\uc9c4\uc9dc \uc77c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8&#8221;<\/em> \uc744 \uc9dc\ub294 \ub3c4\uad6c.<\/p>\n\n<p>11\ud3b8\uc744 \ub9c8\uce58\uba74 \u2460 <code>import<\/code> 3\uac00\uc9c0 \ubb38\ubc95 \u2461 \ub2e8\uace8 \ubaa8\ub4c8 8\uc885 \u2462 \uc678\ubd80 \ud328\ud0a4\uc9c0(<code>pip<\/code>) \uc640\uc758 \uad00\uacc4 \u2463 \ud568\uc815\uacfc \ubaa8\ubc94 \uc0ac\ub840 \u2014 4\uac00\uc9c0\ub97c \uc815\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n\n<h2>import \uc758 3\uac00\uc9c0 \ubaa8\uc591<\/h2>\n\n<pre><code># 1) \uc804\uccb4 \ubaa8\ub4c8 \uac00\uc838\uc624\uae30 \u2014 \uac00\uc7a5 \uc548\uc804\nimport random\nrandom.randint(1, 6)         # \ubaa8\ub4c8 \uc774\ub984.\ud568\uc218 \ud615\ud0dc\n\n# 2) \ud2b9\uc815 \ud56d\ubaa9\ub9cc \uac00\uc838\uc624\uae30\nfrom datetime import datetime, timedelta\nnow = datetime.now()\ntomorrow = now + timedelta(days=1)\n\n# 3) \ubcc4\uce6d \u2014 \uc790\uc8fc \uc4f0\ub294 \uae34 \uc774\ub984 \uc904\uc774\uae30\nimport numpy as np            # \uad00\ub840: np\nimport pandas as pd           # \uad00\ub840: pd\nimport matplotlib.pyplot as plt<\/code><\/pre>\n\n<p>\ud310\ub2e8 \uae30\uc900: <strong>&#8220;\ubaa8\ub4c8\uc5d0\uc11c \ud55c\ub450 \uac1c\ub9cc \uc4f0\uba74 from import, \ub9ce\uc774 \uc4f0\uba74 \uadf8\ub0e5 import&#8221;<\/strong>. <code>from X import *<\/code> \uac19\uc740 \uc640\uc77c\ub4dc\uce74\ub4dc\ub294 \ud55c \ud654\uba74\uc5d0 \uc5b4\ub5a4 \uc774\ub984\uc774 \ub4e4\uc5b4\uc654\ub294\uc9c0 \uc548 \ubcf4\uc5ec\uc11c <strong>\ud53c\ud574\uc57c \ud560 \uc548\ud2f0 \ud328\ud134<\/strong>\uc785\ub2c8\ub2e4. \ub514\ubc84\uae45\uc774 \uc9c0\uc625\uc774 \ub429\ub2c8\ub2e4.<\/p>\n\n<div class=\"databox\">\n  <p><strong>\ud83d\udccc import \ub294 \ud56d\uc0c1 \ud30c\uc77c \ub9e8 \uc704\uc5d0<\/strong><\/p>\n  <p>PEP 8 \uad8c\uc7a5 \uc21c\uc11c \u2014 \u2460 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \u2461 \uc678\ubd80 \ud328\ud0a4\uc9c0 \u2462 \ubcf8\uc778 \ubaa8\ub4c8. \uac01 \uadf8\ub8f9 \uc0ac\uc774 \ube48 \uc904 \ud55c \uc904. \ud30c\uc77c \uc911\uac04\uc5d0\uc11c import \ud558\uba74 &#8220;\uc5ec\uae30\uc11c \uc774 \ubaa8\ub4c8\uc774 \ucc98\uc74c \ub4f1\uc7a5\ud55c\ub2e4&#8221; \uac00 \uc548 \ubcf4\uc5ec\uc11c \ud611\uc5c5\uc774 \uc5b4\ub824\uc6cc\uc9d1\ub2c8\ub2e4.<\/p>\n<\/div>\n\n<h2>\ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub2e8\uace8 8\uc885<\/h2>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th>\ubaa8\ub4c8<\/th><th>\ud558\ub294 \uc77c<\/th><th>\ub300\ud45c \ud568\uc218\u00b7\uc608<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td><code>random<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\ub09c\uc218\u00b7\uc120\ud0dd<\/td><td data-label=\"\ub300\ud45c\"><code>randint(1,6)<\/code>, <code>choice([\"a\",\"b\"])<\/code>, <code>shuffle(lst)<\/code><\/td><\/tr>\n    <tr><td><code>datetime<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\ub0a0\uc9dc\u00b7\uc2dc\uac04<\/td><td data-label=\"\ub300\ud45c\"><code>datetime.now()<\/code>, <code>timedelta(days=7)<\/code>, <code>strftime(\"%Y-%m-%d\")<\/code><\/td><\/tr>\n    <tr><td><code>os<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\ud30c\uc77c\u00b7\ud658\uacbd \ubcc0\uc218<\/td><td data-label=\"\ub300\ud45c\"><code>os.listdir(\".\")<\/code>, <code>os.path.exists(f)<\/code>, <code>os.environ.get(\"HOME\")<\/code><\/td><\/tr>\n    <tr><td><code>pathlib<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\ud604\ub300\uc2dd \uacbd\ub85c (os \ubcf4\ub2e4 \uad8c\uc7a5)<\/td><td data-label=\"\ub300\ud45c\"><code>Path(\"data\").mkdir()<\/code>, <code>p.read_text()<\/code><\/td><\/tr>\n    <tr><td><code>json<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">JSON \uc9c1\ub82c\ud654<\/td><td data-label=\"\ub300\ud45c\"><code>json.loads(s)<\/code>, <code>json.dumps(d, ensure_ascii=False)<\/code><\/td><\/tr>\n    <tr><td><code>math<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\uc218\ud559<\/td><td data-label=\"\ub300\ud45c\"><code>math.pi<\/code>, <code>math.sqrt(16)<\/code>, <code>math.log(2)<\/code><\/td><\/tr>\n    <tr><td><code>re<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\uc815\uaddc\ud45c\ud604\uc2dd<\/td><td data-label=\"\ub300\ud45c\"><code>re.findall(r\"\\d+\", text)<\/code><\/td><\/tr>\n    <tr><td><code>collections<\/code><\/td><td data-label=\"\ud558\ub294 \uc77c\">\uc790\ub8cc\uad6c\uc870 \ud655\uc7a5 (19\ud3b8)<\/td><td data-label=\"\ub300\ud45c\"><code>Counter<\/code>, <code>defaultdict<\/code>, <code>deque<\/code><\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h3>\uc2e4\uc804 \ud55c \uc904\uc9dc\ub9ac<\/h3>\n\n<pre><code>import random\nrandom.choice([\"\uce58\ud0a8\", \"\ud53c\uc790\", \"\ub0c9\uba74\"])   # \uc810\uc2ec \uba54\ub274 \ucd94\ucca8\n\nfrom datetime import datetime\ndatetime.now().strftime(\"%Y%m%d-%H%M%S\")  # \ud30c\uc77c\uba85\uc6a9 \ud0c0\uc784\uc2a4\ud0ec\ud504\n\nfrom pathlib import Path\n[f.name for f in Path(\"\/etc\").iterdir() if f.suffix == \".conf\"]\n\nimport json\nwith open(\"data.json\") as f:\n    config = json.load(f)\n\nimport math\nmath.gcd(12, 18)            # 6 \u2014 \ucd5c\ub300\uacf5\uc57d\uc218\nmath.factorial(5)           # 120\n\nimport re\nre.findall(r\"\\d{3}-\\d{4}\", \"\uc804\ud654 010-1234, 02-5678\")\n# ['010-1234']  \u2014 \ud328\ud134 \uc77c\uce58\ub9cc \ucd94\ucd9c<\/code><\/pre>\n\n<p>\uc774 8\uc885\uc774 \uc790\ub3d9\ud654 \uc2a4\ud06c\ub9bd\ud2b8\uc758 90% \ub97c \ucc45\uc784\uc9d1\ub2c8\ub2e4. 22\ud3b8 &#8220;\uc790\ub3d9\ud654 \uc2a4\ud06c\ub9bd\ud2b8&#8221; \uc5d0\uc11c \uc774\ub4e4\uc744 \ubb36\uc5b4 \uc2e4\uc81c \uc7a1\uc77c\uc744 \uc790\ub3d9\ud654\ud569\ub2c8\ub2e4.<\/p>\n\n<h2>\uc678\ubd80 \ud328\ud0a4\uc9c0(pip) \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \ubd80\uc871\ud560 \ub54c<\/h2>\n\n<p>\uc6f9 \uc694\uccad\u00b7\ub370\uc774\ud130 \ubd84\uc11d\u00b7\uba38\uc2e0\ub7ec\ub2dd \u2014 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub9cc\uc73c\ub860 \ud55c\uacc4\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub54c PyPI \uc5d0\uc11c \uc678\ubd80 \ud328\ud0a4\uc9c0\ub97c \ubc1b\uc544\uc694. 2026\ub144 \uae30\uc900 PyPI \uc5d0\ub294 \uc57d 60\ub9cc \uac1c\uc758 \ud328\ud0a4\uc9c0\uac00 \ub4f1\ub85d\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n<pre><code># \ud130\ubbf8\ub110\uc5d0\uc11c\npip install requests pandas\n\n# \ucf54\ub4dc\uc5d0\uc11c\nimport requests\nr = requests.get(\"https:\/\/api.example.com\/data\")\ndata = r.json()\n\nimport pandas as pd\ndf = pd.read_csv(\"sales.csv\")\ndf.head()<\/code><\/pre>\n\n<p>\ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac(\uc774\ubbf8 \uae54\ub9bc) \uc640 \uc678\ubd80 \ud328\ud0a4\uc9c0(<code>pip<\/code>\ub85c \uae54\uc544\uc57c \ud568) \uc758 \ucc28\uc774\ub97c \uc778\uc2dd\ud558\ub294 \uac8c 11\ud3b8\uc758 \ud575\uc2ec. <code>import xyz<\/code> \uac00 <code>ModuleNotFoundError<\/code> \ub97c \ubc49\uc73c\uba74 \ubcf4\ud1b5 <code>pip install xyz<\/code> \uac00 \ub2f5\uc785\ub2c8\ub2e4.<\/p>\n\n<div class=\"warnbox\">\n  <strong>\u26a0\ufe0f pip install \uc740 \uc2dc\uc2a4\ud15c\uc5d0 \uc9c1\uc811 \uc124\uce58\ud558\uc9c0 \ub9c8\uc138\uc694.<\/strong> \ud504\ub85c\uc81d\ud2b8\ub9c8\ub2e4 \ud544\uc694\ud55c \ubc84\uc804\uc774 \ub2e4\ub974\uba74 \ucda9\ub3cc\uc774 \ub0a9\ub2c8\ub2e4. 16\ud3b8\uc5d0\uc11c \uac00\uc0c1\ud658\uacbd(venv) \uc744 \ubc30\uc6b0\uae30 \uc804\uae4c\uc9c0\ub294 <code>pip install --user<\/code> \uc815\ub3c4\ub85c\ub9cc \uc2dc\ud5d8\ud558\uace0, \ubcf8\uaca9\uc801\uc778 \ud504\ub85c\uc81d\ud2b8\ub294 venv \ub9cc\ub4e4\uace0 \uc2dc\uc791\ud558\ub294 \uac8c \uc548\uc804.\n<\/div>\n\n<h2>\ub9c8\ubb34\ub9ac \u2014 \ub77c\uc774\ube0c\ub7ec\ub9ac \uce74\ud0c8\ub85c\uadf8\uac00 \ubb34\uae30\ub2e4<\/h2>\n\n<p>\uc2e4\ubb34 \ud30c\uc774\uc36c \uac1c\ubc1c\uc790\uc758 \uac00\uc7a5 \ud070 \ub2a5\ub825\uc740 <strong>&#8220;\uc774 \uc791\uc5c5\uc5d0 \uc5b4\ub5a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc788\ub294\uc9c0 \uc544\ub294 \uac83&#8221;<\/strong>\uc785\ub2c8\ub2e4. <em>&#8220;\ud30c\uc774\uc36c\uc73c\ub85c PDF \ub9cc\ub4e4\uae30&#8221;<\/em>\u00b7<em>&#8220;\uc774\uba54\uc77c \ubcf4\ub0b4\uae30&#8221;<\/em>\u00b7<em>&#8220;\uc5d1\uc140 \uc77d\uae30&#8221;<\/em> \u2014 \uac70\uc758 \ubaa8\ub450 \ud55c \ubc88 \uac80\uc0c9\ud558\uba74 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc788\uc5b4\uc694. \uc9c1\uc811 \uad6c\ud604 \uc804\uc5d0 <code>pip search<\/code> \ub610\ub294 \uad6c\uae00 \uac80\uc0c9 \ud55c \ubc88\uc774 \ud55c \uc8fc\ub97c \uc544\ub08d\ub2c8\ub2e4.<\/p>\n\n<p>\ub2e4\uc74c \ubbf8\uc158 \u2014 REPL \uc5d0\uc11c: \u2460 <code>random<\/code> \uc73c\ub85c 1~45 \uc911 6\uac1c \ucd94\ucca8(\ub85c\ub610) \u2461 <code>datetime<\/code> \uc73c\ub85c \ubcf8\uc778 \uc0dd\uc77c\uae4c\uc9c0 \uba70\uce60 \ub0a8\uc558\ub294\uc9c0 \u2462 <code>json<\/code> \uc73c\ub85c dict \ub97c \ud30c\uc77c\uc5d0 \uc800\uc7a5\ud558\uace0 \ub2e4\uc2dc \uc77d\uc5b4 \ud655\uc778.<\/p>\n\n<div class=\"cta\">\n  <h3>\ub2e4\uc74c \ud3b8 \ubbf8\ub9ac\ubcf4\uae30<\/h3>\n  <p>12\ud3b8 \u2014 &#8220;\uc608\uc678 \ucc98\ub9ac try\u00b7except&#8221;: \uc5d0\ub7ec\uac00 \ub098\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc744 \uba48\ucd94\uc9c0 \uc54a\uace0 \uc6b0\uc544\ud558\uac8c \ucc98\ub9ac. \uc785\ubb38 \ub9c8\uc9c0\ub9c9 \ub2e8\uacc4.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda 27\ud3b8 \ud30c\uc774\uc36c \uad50\uc7ac \uc2dc\ub9ac\uc988 \u2014 11\/27\ud3b8<\/strong><br>\n  \u2190 10\ud3b8 &#8220;\ucef4\ud504\ub9ac\ud5e8\uc158&#8221; \u00b7 \ub2e4\uc74c: 12\ud3b8 &#8220;\uc608\uc678 \ucc98\ub9ac try except&#8221;\n<\/div>\n\n<\/article>\n<\/div>\n<script defer src=\"https:\/\/static.cloudflareinsights.com\/beacon.min.js\/v8c78df7c7c0f484497ecbca7046644da1771523124516\" integrity=\"sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==\" data-cf-beacon='{\"version\":\"2024.11.0\",\"token\":\"9ff496227eaf40cb87f4788fb6d3acdc\",\"r\":1,\"server_timing\":{\"name\":{\"cfCacheStatus\":true,\"cfEdge\":true,\"cfExtPri\":true,\"cfL4\":true,\"cfOrigin\":true,\"cfSpeedBrain\":true},\"location_startswith\":null}}' crossorigin=\"anonymous\"><\/script>\n<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML=\"window.__CF$cv$params={r:'9fba5c86f9faf7a5',t:'MTc3ODc2NjUxNg=='};var a=document.createElement('script');a.src='\/cdn-cgi\/challenge-platform\/scripts\/jsd\/main.js';document.getElementsByTagName('head')[0].appendChild(a);\";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();<\/script><\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>import\u00b7from\u00b7as \ubb38\ubc95\uacfc random\u00b7datetime\u00b7os\u00b7json\u00b7math \ub4f1 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub2e8\uace8 8\uc885. 27\ud3b8 \uad50\uc7ac 11\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-python"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/224","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=224"}],"version-history":[{"count":0,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}