{"id":43717,"date":"2025-08-04T14:35:05","date_gmt":"2025-08-04T05:35:05","guid":{"rendered":"https:\/\/techgym.jp\/?p=43717"},"modified":"2025-10-27T10:11:18","modified_gmt":"2025-10-27T01:11:18","slug":"python__file__","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python__file__\/","title":{"rendered":"\u3010Python\u3011__file__\u5909\u6570\u306e\u4f7f\u3044\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d1\u30b9\u53d6\u5f97\u3068\u5b9f\u8df5\u7684\u6d3b\u7528\u6cd5"},"content":{"rendered":"\n<p><style>\n.ranking-table {\n    width: 100%;\n    border-collapse: collapse;\n    margin: 20px 0;\n}\n.ranking-table td {\n    padding: 20px;\n    border: 1px solid #e0e0e0;\n    vertical-align: top;\n}\n.ranking-table td:first-child {\n    width: 200px;\n    text-align: center;\n    background-color: #f9f9f9;\n}\n.ranking-table img {\n    display: block;\n    margin: 10px auto;\n    max-width: 100%;\n    height: auto;\n}\n.ranking-table a {\n    color: #0066cc;\n    text-decoration: none;\n    font-weight: bold;\n}\n.ranking-table a:hover {\n    text-decoration: underline;\n}\n<\/style><\/p>\n<table class=\"ranking-table\">\n<tbody>\n<tr>\n<td><a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=5161740&amp;p_id=6820&amp;pc_id=19517&amp;pl_id=90728\" rel=\"nofollow\" referrerpolicy=\"no-referrer-when-downgrade\" attributionsrc=\"\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/image.moshimo.com\/af-img\/6634\/000000090728.png?resize=120%2C60\" width=\"120\" height=\"60\" style=\"border: none;\" \/><\/a><img decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=5161740&amp;p_id=6820&amp;pc_id=19517&amp;pl_id=90728\" width=\"1\" height=\"1\" style=\"border: none;\" loading=\"lazy\" \/><strong><a href=\"http:\/\/msm.to\/2ULVG5u\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30dc\u30fc\u30c9<\/a><\/strong><\/td>\n<td>\n<p><strong>20\u4e07\u4ef6\u4ee5\u4e0a\u306e\u6848\u4ef6\u304b\u3089\u3001\u526f\u696d\u306b\u6700\u9069\u306a\u30ea\u30e2\u30fc\u30c8\u30fb\u90313\u301c\u306e\u6848\u4ef6\u3092\u4e00\u62ec\u691c\u7d22\u3067\u304d\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3002<\/strong><strong>\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u767b\u9332\u3067AI\u30b9\u30ab\u30a6\u30c8\u304c\u81ea\u52d5\u7684\u306b\u30de\u30c3\u30c1\u30f3\u30b0\u6848\u4ef6\u3092\u63d0\u6848\u3002<\/strong><strong>\u5e02\u5834\u7d71\u8a08\u3084\u5358\u4fa1\u76f8\u5834\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u53e3\u30b3\u30df\u3082\u7121\u6599\u3067\u95b2\u89a7\u53ef\u80fd\u306a\u305f\u3081\u3001\u672c\u696d\u3092\u7d9a\u3051\u306a\u304c\u3089\u52b9\u7387\u7684\u306b\u9ad8\u5358\u4fa1\u306e\u526f\u696d\u6848\u4ef6\u3092\u63a2\u305b\u307e\u3059\u3002<a href=\"http:\/\/msm.to\/2ULVG5u\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30dc\u30fc\u30c9<\/a><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+61C2P\" rel=\"nofollow\"> <img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"120\" height=\"60\" alt=\"\" src=\"https:\/\/www29.a8.net\/svt\/bgt?aid=250928846375&amp;wid=001&amp;eno=01&amp;mid=s00000018714001014000&amp;mc=1\" \/><\/a> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/i0.wp.com\/www14.a8.net\/0.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" \/> <strong><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+5YJRM\" target=\"_blank\" rel=\"noopener\">IT\u30d7\u30ed\u30d1\u30fc\u30c8\u30ca\u30fc\u30ba<\/a><\/strong><\/td>\n<td>\n<p><strong>\u90312\u301c3\u65e5\u304b\u3089\u50cd\u3051\u308b\u67d4\u8edf\u306a\u6848\u4ef6\u304c\u696d\u754c\u30c8\u30c3\u30d7\u30af\u30e9\u30b9\u306e\u8c4a\u5bcc\u3055\u3092\u8a87\u308b\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3002<\/strong><strong>\u30a8\u30f3\u30c9\u76f4\u5951\u7d04\u306e\u305f\u3081\u9ad8\u5358\u4fa1\u3067\u3001\u90313\u65e5\u7a3c\u50cd\u3067\u3082\u5341\u5206\u306a\u5831\u916c\u3092\u5f97\u3089\u308c\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8\u3084\u6642\u9593\u30d5\u30ec\u30ad\u30b7\u30d6\u30eb\u306a\u6848\u4ef6\u3082\u591a\u6570\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u30fb\u30d9\u30f3\u30c1\u30e3\u30fc\u4e2d\u5fc3\u3067\u3001\u30c8\u30ec\u30f3\u30c9\u6280\u8853\u3092\u4f7f\u3063\u305f\u9b45\u529b\u7684\u306a\u6848\u4ef6\u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u3002\u5c02\u5c5e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u6848\u4ef6\u7d39\u4ecb\u304b\u3089\u5951\u7d04\u4ea4\u6e09\u307e\u3067\u30b5\u30dd\u30fc\u30c8\u3002\u5229\u7528\u4f01\u696d2,000\u793e\u4ee5\u4e0a\u306e\u5b9f\u7e3e\u3002<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+5YJRM\" target=\"_blank\" rel=\"noopener\">IT\u30d7\u30ed\u30d1\u30fc\u30c8\u30ca\u30fc\u30ba<\/a><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BYLJL\" rel=\"nofollow\"> <img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"100\" height=\"60\" alt=\"\" src=\"https:\/\/www21.a8.net\/svt\/bgt?aid=251019989646&amp;wid=001&amp;eno=01&amp;mid=s00000017868002009000&amp;mc=1\" \/><\/a> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/i0.wp.com\/www16.a8.net\/0.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" \/> <strong> <a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BWVTE\" target=\"_blank\" rel=\"noopener\">Midworks<\/a> <\/strong><\/td>\n<td><strong>10,000\u4ef6\u4ee5\u4e0a\u306e\u6848\u4ef6\u3092\u4fdd\u6709\u3057\u3001\u90313\u65e5\u301c\u30fb\u30d5\u30eb\u30ea\u30e2\u30fc\u30c8\u306a\u3069\u67d4\u8edf\u306a\u50cd\u304d\u65b9\u306b\u5bfe\u5fdc\u3002\u9ad8\u5358\u4fa1\u6848\u4ef6\u304c\u8c4a\u5bcc\u3067\u3001\u5831\u916c\u4fdd\u969c\u5236\u5ea6\uff0860%\uff09\u3084\u4fdd\u967a\u6599\u8ca0\u62c5\uff0850%\uff09\u306a\u3069\u6b63\u793e\u54e1\u4e26\u307f\u306e\u624b\u539a\u3044\u798f\u5229\u539a\u751f\u304c\u7279\u5fb4\u3002\u901a\u52e4\u4ea4\u901a\u8cbb\uff08\u67083\u4e07\u5186\uff09\u3001\u30b9\u30ad\u30eb\u30a2\u30c3\u30d7\u8cbb\u7528\uff08\u67081\u4e07\u5186\uff09\u306e\u652f\u7d66\u306b\u52a0\u3048\u3001\u30ea\u30ed\u30af\u30e9\u30d6\u30fbfreee\u304c\u7121\u6599\u5229\u7528\u53ef\u80fd\u3002\u975e\u516c\u958b\u6848\u4ef680%\u4ee5\u4e0a\u3001\u652f\u6255\u3044\u30b5\u30a4\u30c820\u65e5\u3067\u5b89\u5fc3\u3057\u3066\u7a3c\u50cd\u3067\u304d\u307e\u3059\u3002<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BWVTE\" target=\"_blank\" rel=\"noopener\">Midworks<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u3001<code>__file__<\/code>\u306f\u73fe\u5728\u5b9f\u884c\u4e2d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u7279\u6b8a\u5909\u6570\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<code>__file__<\/code>\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n<h2><code>__file__<\/code>\u3068\u306f\uff1f<\/h2>\n<p><code>__file__<\/code>\u306f\u3001Python\u306e\u7279\u6b8a\u5909\u6570\uff08dunder variable\uff09\u306e\u4e00\u3064\u3067\u3001\u73fe\u5728\u5b9f\u884c\u3055\u308c\u3066\u3044\u308bPython\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u7d76\u5bfe\u30d1\u30b9\u307e\u305f\u306f\u76f8\u5bfe\u30d1\u30b9\u3092\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5909\u6570\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5834\u6240\u3092\u57fa\u6e96\u3068\u3057\u305f\u67d4\u8edf\u306a\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u7684\u306a\u4f7f\u7528\u4f8b<\/h3>\n<pre><code class=\"language-python\"># script.py\nprint(__file__)\n# \u51fa\u529b\u4f8b: \/home\/user\/project\/script.py\n# \u307e\u305f\u306f: C:\\Users\\user\\project\\script.py\uff08Windows\uff09\n\nprint(f\"\u5b9f\u884c\u4e2d\u306e\u30b9\u30af\u30ea\u30d7\u30c8: {__file__}\")\n<\/code><\/pre>\n<h2><code>__file__<\/code>\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>1. \u7d76\u5bfe\u30d1\u30b9\u306e\u53d6\u5f97<\/h3>\n<pre><code class=\"language-python\">import os\n\n# \u73fe\u5728\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u7d76\u5bfe\u30d1\u30b9\nscript_path = os.path.abspath(__file__)\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u7d76\u5bfe\u30d1\u30b9: {script_path}\")\n\n# pathlib\u3092\u4f7f\u7528\uff08Python 3.4\u4ee5\u964d\u63a8\u5968\uff09\nfrom pathlib import Path\n\nscript_path = Path(__file__).resolve()\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u7d76\u5bfe\u30d1\u30b9: {script_path}\")\n<\/code><\/pre>\n<h3>2. \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u306e\u53d6\u5f97<\/h3>\n<pre><code class=\"language-python\">import os\nfrom pathlib import Path\n\n# os.path.dirname()\u3092\u4f7f\u7528\nscript_dir = os.path.dirname(os.path.abspath(__file__))\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: {script_dir}\")\n\n# pathlib\u3092\u4f7f\u7528\uff08\u63a8\u5968\uff09\nscript_dir = Path(__file__).parent\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: {script_dir}\")\n\n# \u7d76\u5bfe\u30d1\u30b9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\nscript_dir_abs = Path(__file__).parent.resolve()\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u7d76\u5bfe\u30d1\u30b9\uff09: {script_dir_abs}\")\n<\/code><\/pre>\n<h3>3. \u30d5\u30a1\u30a4\u30eb\u540d\u306e\u53d6\u5f97<\/h3>\n<pre><code class=\"language-python\">import os\nfrom pathlib import Path\n\n# os.path.basename()\u3092\u4f7f\u7528\nscript_name = os.path.basename(__file__)\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u540d: {script_name}\")\n\n# pathlib\u3092\u4f7f\u7528\nscript_name = Path(__file__).name\nprint(f\"\u30b9\u30af\u30ea\u30d7\u30c8\u540d: {script_name}\")\n\n# \u62e1\u5f35\u5b50\u306a\u3057\u306e\u30d5\u30a1\u30a4\u30eb\u540d\nscript_stem = Path(__file__).stem\nprint(f\"\u62e1\u5f35\u5b50\u306a\u3057\u30d5\u30a1\u30a4\u30eb\u540d: {script_stem}\")\n<\/code><\/pre>\n<h2>\u76f8\u5bfe\u30d1\u30b9\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/h2>\n<h3>\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\n\n# \u30b9\u30af\u30ea\u30d7\u30c8\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308a\ndef read_config_file():\n    script_dir = Path(__file__).parent\n    config_path = script_dir \/ \"config.txt\"\n    \n    try:\n        with open(config_path, 'r', encoding='utf-8') as file:\n            return file.read()\n    except FileNotFoundError:\n        print(f\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {config_path}\")\n        return None\n\n# \u4f7f\u7528\u4f8b\nconfig_content = read_config_file()\nif config_content:\n    print(\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9:\", config_content)\n<\/code><\/pre>\n<h3>\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\n\ndef load_data_file(filename):\n    \"\"\"data\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\"\"\"\n    script_dir = Path(__file__).parent\n    data_dir = script_dir \/ \"data\"\n    file_path = data_dir \/ filename\n    \n    if not file_path.exists():\n        print(f\"\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u307e\u305b\u3093: {file_path}\")\n        return None\n    \n    with open(file_path, 'r', encoding='utf-8') as file:\n        return file.read()\n\n# \u4f7f\u7528\u4f8b\ndata = load_data_file(\"sample.txt\")\n<\/code><\/pre>\n<h3>\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\n\ndef access_parent_directory():\n    \"\"\"\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\"\"\"\n    script_dir = Path(__file__).parent\n    parent_dir = script_dir.parent\n    parent_file = parent_dir \/ \"parent_config.txt\"\n    \n    if parent_file.exists():\n        with open(parent_file, 'r', encoding='utf-8') as file:\n            return file.read()\n    return None\n\n# \u4f7f\u7528\u4f8b\nparent_config = access_parent_directory()\n<\/code><\/pre>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u9020\u3067\u306e\u5b9f\u8df5\u7684\u306a\u6d3b\u7528<\/h2>\n<h3>\u5178\u578b\u7684\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u9020<\/h3>\n<pre><code>project\/\n\u251c\u2500\u2500 main.py\n\u251c\u2500\u2500 config\/\n\u2502   \u251c\u2500\u2500 settings.json\n\u2502   \u2514\u2500\u2500 database.conf\n\u251c\u2500\u2500 data\/\n\u2502   \u251c\u2500\u2500 input.csv\n\u2502   \u2514\u2500\u2500 output\/\n\u251c\u2500\u2500 src\/\n\u2502   \u251c\u2500\u2500 __init__.py\n\u2502   \u251c\u2500\u2500 utils.py\n\u2502   \u2514\u2500\u2500 models.py\n\u2514\u2500\u2500 tests\/\n    \u2514\u2500\u2500 test_main.py\n<\/code><\/pre>\n<h3>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8\u306e\u7279\u5b9a<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\n\ndef get_project_root():\n    \"\"\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\"\"\"\n    # \u73fe\u5728\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u4e0a\u4f4d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8fbf\u308b\n    current_file = Path(__file__).resolve()\n    \n    # \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8\u306e\u76ee\u5370\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\n    for parent in current_file.parents:\n        if (parent \/ \"main.py\").exists() or (parent \/ \"setup.py\").exists():\n            return parent\n    \n    # \u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u73fe\u5728\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8fd4\u3059\n    return current_file.parent\n\n# \u4f7f\u7528\u4f8b\nproject_root = get_project_root()\nprint(f\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8: {project_root}\")\n\n# \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\nconfig_path = project_root \/ \"config\" \/ \"settings.json\"\ndata_path = project_root \/ \"data\" \/ \"input.csv\"\n<\/code><\/pre>\n<h3>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\n<pre><code class=\"language-python\">import json\nfrom pathlib import Path\n\nclass ConfigLoader:\n    def __init__(self):\n        self.script_dir = Path(__file__).parent.resolve()\n        self.project_root = self._find_project_root()\n    \n    def _find_project_root(self):\n        \"\"\"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8\u3092\u7279\u5b9a\"\"\"\n        current_dir = self.script_dir\n        while current_dir != current_dir.parent:\n            if (current_dir \/ \"main.py\").exists():\n                return current_dir\n            current_dir = current_dir.parent\n        return self.script_dir\n    \n    def load_json_config(self, config_name):\n        \"\"\"JSON\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\"\"\"\n        config_path = self.project_root \/ \"config\" \/ f\"{config_name}.json\"\n        try:\n            with open(config_path, 'r', encoding='utf-8') as file:\n                return json.load(file)\n        except FileNotFoundError:\n            print(f\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {config_path}\")\n            return {}\n        except json.JSONDecodeError as e:\n            print(f\"JSON\u5f62\u5f0f\u30a8\u30e9\u30fc: {e}\")\n            return {}\n\n# \u4f7f\u7528\u4f8b\nconfig_loader = ConfigLoader()\nsettings = config_loader.load_json_config(\"settings\")\ndatabase_config = config_loader.load_json_config(\"database\")\n<\/code><\/pre>\n<h2>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406<\/h2>\n<h3>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5834\u6240\u3092\u57fa\u6e96\u3068\u3057\u305f\u30ed\u30b0\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">import logging\nfrom pathlib import Path\nfrom datetime import datetime\n\nclass ScriptLogger:\n    def __init__(self, log_name=\"app\"):\n        self.script_dir = Path(__file__).parent\n        self.log_dir = self.script_dir \/ \"logs\"\n        self.log_dir.mkdir(exist_ok=True)\n        \n        # \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u65e5\u4ed8\u3092\u542b\u3081\u308b\n        date_str = datetime.now().strftime(\"%Y%m%d\")\n        self.log_file = self.log_dir \/ f\"{log_name}_{date_str}.log\"\n        \n        self._setup_logger()\n    \n    def _setup_logger(self):\n        \"\"\"\u30ed\u30ac\u30fc\u306e\u8a2d\u5b9a\"\"\"\n        self.logger = logging.getLogger(__name__)\n        self.logger.setLevel(logging.INFO)\n        \n        # \u30d5\u30a1\u30a4\u30eb\u30cf\u30f3\u30c9\u30e9\u30fc\n        file_handler = logging.FileHandler(self.log_file, encoding='utf-8')\n        file_handler.setLevel(logging.INFO)\n        \n        # \u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u30fc\n        formatter = logging.Formatter(\n            '%(asctime)s - %(name)s - %(levelname)s - %(message)s'\n        )\n        file_handler.setFormatter(formatter)\n        \n        self.logger.addHandler(file_handler)\n    \n    def info(self, message):\n        self.logger.info(message)\n    \n    def error(self, message):\n        self.logger.error(message)\n    \n    def warning(self, message):\n        self.logger.warning(message)\n\n# \u4f7f\u7528\u4f8b\nlogger = ScriptLogger(\"my_script\")\nlogger.info(\"\u30b9\u30af\u30ea\u30d7\u30c8\u958b\u59cb\")\nlogger.info(\"\u51e6\u7406\u5b8c\u4e86\")\n<\/code><\/pre>\n<h2>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u8a2d\u5b9a\u306e\u7ba1\u7406<\/h2>\n<h3>\u74b0\u5883\u5225\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\n<pre><code class=\"language-python\">import json\nfrom pathlib import Path\nimport os\n\nclass DatabaseConfig:\n    def __init__(self):\n        self.script_dir = Path(__file__).parent\n        self.config_dir = self.script_dir \/ \"config\"\n        self.environment = os.getenv('ENVIRONMENT', 'development')\n    \n    def load_db_config(self):\n        \"\"\"\u74b0\u5883\u306b\u5fdc\u3058\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\"\"\"\n        config_file = self.config_dir \/ f\"database_{self.environment}.json\"\n        \n        # \u74b0\u5883\u5225\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u4f7f\u7528\n        if not config_file.exists():\n            config_file = self.config_dir \/ \"database_default.json\"\n        \n        try:\n            with open(config_file, 'r', encoding='utf-8') as file:\n                config = json.load(file)\n            \n            print(f\"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3057\u305f: {config_file}\")\n            return config\n        \n        except FileNotFoundError:\n            print(f\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {config_file}\")\n            return self._get_default_config()\n    \n    def _get_default_config(self):\n        \"\"\"\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u8fd4\u3059\"\"\"\n        return {\n            \"host\": \"localhost\",\n            \"port\": 5432,\n            \"database\": \"myapp\",\n            \"user\": \"user\",\n            \"password\": \"password\"\n        }\n\n# \u4f7f\u7528\u4f8b\ndb_config = DatabaseConfig()\nconfig = db_config.load_db_config()\nprint(f\"\u63a5\u7d9a\u5148: {config['host']}:{config['port']}\")\n<\/code><\/pre>\n<h2>\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\n<pre><code class=\"language-python\">import unittest\nfrom pathlib import Path\nimport sys\n\n# \u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u898b\u305f\u76f8\u5bfe\u30d1\u30b9\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\ntest_dir = Path(__file__).parent\nsrc_dir = test_dir.parent \/ \"src\"\nsys.path.insert(0, str(src_dir))\n\nclass TestDataLoader:\n    def __init__(self):\n        self.test_dir = Path(__file__).parent\n        self.test_data_dir = self.test_dir \/ \"test_data\"\n    \n    def load_test_file(self, filename):\n        \"\"\"\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\"\"\"\n        file_path = self.test_data_dir \/ filename\n        if file_path.exists():\n            with open(file_path, 'r', encoding='utf-8') as file:\n                return file.read()\n        return None\n\nclass MyTest(unittest.TestCase):\n    def setUp(self):\n        self.data_loader = TestDataLoader()\n    \n    def test_something(self):\n        test_data = self.data_loader.load_test_file(\"sample_input.txt\")\n        self.assertIsNotNone(test_data)\n        # \u30c6\u30b9\u30c8\u30ed\u30b8\u30c3\u30af\n\nif __name__ == \"__main__\":\n    unittest.main()\n<\/code><\/pre>\n<h2>\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3067\u306e\u6ce8\u610f\u70b9<\/h2>\n<h3><code>__file__<\/code>\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\nimport sys\n\ndef get_script_directory():\n    \"\"\"\u30b9\u30af\u30ea\u30d7\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5b89\u5168\u306b\u53d6\u5f97\"\"\"\n    try:\n        # __file__\u304c\u5229\u7528\u53ef\u80fd\u306a\u5834\u5408\n        return Path(__file__).parent.resolve()\n    except NameError:\n        # \u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u305f\u74b0\u5883\n        if hasattr(sys, 'frozen'):\n            # PyInstaller\u306a\u3069\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u305f\u5834\u5408\n            return Path(sys.executable).parent\n        else:\n            # \u73fe\u5728\u306e\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8fd4\u3059\n            return Path.cwd()\n\n# \u4f7f\u7528\u4f8b\nscript_dir = get_script_directory()\nconfig_path = script_dir \/ \"config.json\"\n<\/code><\/pre>\n<h3>\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30af\u30bb\u30b9\uff08Python 3.9\u4ee5\u964d\uff09<\/h3>\n<pre><code class=\"language-python\">from importlib import resources\nfrom pathlib import Path\n\n# \u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\ndef load_package_resource(package_name, resource_name):\n    \"\"\"\u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u307f\"\"\"\n    try:\n        with resources.open_text(package_name, resource_name) as file:\n            return file.read()\n    except FileNotFoundError:\n        print(f\"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {resource_name}\")\n        return None\n\n# \u5f93\u6765\u306e\u65b9\u6cd5\u3068\u306e\u6bd4\u8f03\ndef load_resource_traditional():\n    \"\"\"\u5f93\u6765\u306e__file__\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\"\"\"\n    script_dir = Path(__file__).parent\n    resource_path = script_dir \/ \"data\" \/ \"resource.txt\"\n    \n    with open(resource_path, 'r', encoding='utf-8') as file:\n        return file.read()\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b<\/h2>\n<h3>1. \u52d5\u7684\u30a4\u30f3\u30dd\u30fc\u30c8\u30d1\u30b9\u306e\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\nimport sys\nimport importlib.util\n\nclass ModuleLoader:\n    def __init__(self):\n        self.script_dir = Path(__file__).parent\n        self.modules_dir = self.script_dir \/ \"modules\"\n    \n    def load_module_from_file(self, filename):\n        \"\"\"\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u307f\"\"\"\n        module_path = self.modules_dir \/ filename\n        \n        if not module_path.exists():\n            raise FileNotFoundError(f\"\u30e2\u30b8\u30e5\u30fc\u30eb\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {module_path}\")\n        \n        spec = importlib.util.spec_from_file_location(\"dynamic_module\", module_path)\n        module = importlib.util.module_from_spec(spec)\n        spec.loader.exec_module(module)\n        \n        return module\n    \n    def add_modules_to_path(self):\n        \"\"\"\u30e2\u30b8\u30e5\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092sys.path\u306b\u8ffd\u52a0\"\"\"\n        if str(self.modules_dir) not in sys.path:\n            sys.path.insert(0, str(self.modules_dir))\n\n# \u4f7f\u7528\u4f8b\nloader = ModuleLoader()\nloader.add_modules_to_path()\n\n# \u52d5\u7684\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8aad\u307f\u8fbc\u307f\ncustom_module = loader.load_module_from_file(\"custom_functions.py\")\n<\/code><\/pre>\n<h3>2. \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u968e\u5c64\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\nimport json\nfrom typing import Dict, Any\n\nclass HierarchicalConfig:\n    def __init__(self):\n        self.script_dir = Path(__file__).parent\n        self.config_hierarchy = [\n            self.script_dir \/ \"config\" \/ \"local.json\",      # \u6700\u512a\u5148\n            self.script_dir \/ \"config\" \/ \"environment.json\", # \u74b0\u5883\u8a2d\u5b9a\n            self.script_dir \/ \"config\" \/ \"default.json\"      # \u30c7\u30d5\u30a9\u30eb\u30c8\n        ]\n    \n    def load_config(self) -&gt; Dict[str, Any]:\n        \"\"\"\u968e\u5c64\u7684\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30de\u30fc\u30b8\u3059\u308b\"\"\"\n        merged_config = {}\n        \n        # \u512a\u5148\u5ea6\u306e\u4f4e\u3044\u9806\uff08\u5f8c\u304b\u3089\u8aad\u307f\u8fbc\u3080\u307b\u3069\u512a\u5148\uff09\n        for config_file in reversed(self.config_hierarchy):\n            if config_file.exists():\n                try:\n                    with open(config_file, 'r', encoding='utf-8') as file:\n                        config = json.load(file)\n                    \n                    # \u8a2d\u5b9a\u3092\u30de\u30fc\u30b8\uff08\u5f8c\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u5024\u304c\u512a\u5148\uff09\n                    merged_config = {**merged_config, **config}\n                    print(f\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f: {config_file}\")\n                \n                except json.JSONDecodeError as e:\n                    print(f\"JSON\u5f62\u5f0f\u30a8\u30e9\u30fc in {config_file}: {e}\")\n        \n        return merged_config\n    \n    def get(self, key: str, default: Any = None) -&gt; Any:\n        \"\"\"\u8a2d\u5b9a\u5024\u3092\u53d6\u5f97\"\"\"\n        config = self.load_config()\n        keys = key.split('.')\n        \n        value = config\n        for k in keys:\n            if isinstance(value, dict) and k in value:\n                value = value[k]\n            else:\n                return default\n        \n        return value\n\n# \u4f7f\u7528\u4f8b\nconfig = HierarchicalConfig()\ndatabase_host = config.get('database.host', 'localhost')\ndebug_mode = config.get('app.debug', False)\n<\/code><\/pre>\n<h3>3. \u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">import tempfile\nfrom pathlib import Path\nimport atexit\nimport shutil\n\nclass TempFileManager:\n    def __init__(self):\n        self.script_dir = Path(__file__).parent\n        self.temp_dir = self.script_dir \/ \"temp\"\n        self.temp_dir.mkdir(exist_ok=True)\n        \n        # \u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86\u6642\u306b\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\n        atexit.register(self.cleanup)\n        \n        self.temp_files = []\n    \n    def create_temp_file(self, suffix=\".tmp\", prefix=\"temp_\"):\n        \"\"\"\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\"\"\"\n        temp_file = tempfile.NamedTemporaryFile(\n            dir=self.temp_dir,\n            suffix=suffix,\n            prefix=prefix,\n            delete=False\n        )\n        \n        self.temp_files.append(Path(temp_file.name))\n        return Path(temp_file.name)\n    \n    def cleanup(self):\n        \"\"\"\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\"\"\"\n        for temp_file in self.temp_files:\n            try:\n                if temp_file.exists():\n                    temp_file.unlink()\n            except Exception as e:\n                print(f\"\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u524a\u9664\u30a8\u30e9\u30fc: {e}\")\n        \n        # \u4e00\u6642\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u524a\u9664\uff08\u7a7a\u306e\u5834\u5408\uff09\n        try:\n            if self.temp_dir.exists() and not any(self.temp_dir.iterdir()):\n                self.temp_dir.rmdir()\n        except Exception:\n            pass\n\n# \u4f7f\u7528\u4f8b\ntemp_manager = TempFileManager()\ntemp_file = temp_manager.create_temp_file(suffix=\".txt\")\n\nwith open(temp_file, 'w') as f:\n    f.write(\"\u4e00\u6642\u7684\u306a\u30c7\u30fc\u30bf\")\n<\/code><\/pre>\n<h2>\u30c7\u30d0\u30c3\u30b0\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n<h3><code>__file__<\/code>\u306e\u5024\u3092\u78ba\u8a8d\u3059\u308b\u30c7\u30d0\u30c3\u30b0\u95a2\u6570<\/h3>\n<pre><code class=\"language-python\">from pathlib import Path\nimport sys\n\ndef debug_file_paths():\n    \"\"\"\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u95a2\u9023\u306e\u60c5\u5831\u3092\u30c7\u30d0\u30c3\u30b0\u51fa\u529b\"\"\"\n    print(\"=== \u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u60c5\u5831 ===\")\n    print(f\"__file__: {__file__}\")\n    print(f\"\u7d76\u5bfe\u30d1\u30b9: {Path(__file__).resolve()}\")\n    print(f\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: {Path(__file__).parent}\")\n    print(f\"\u30d5\u30a1\u30a4\u30eb\u540d: {Path(__file__).name}\")\n    print(f\"\u62e1\u5f35\u5b50\u306a\u3057: {Path(__file__).stem}\")\n    print(f\"\u73fe\u5728\u306e\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: {Path.cwd()}\")\n    print(f\"sys.argv[0]: {sys.argv[0]}\")\n    print(f\"sys.path[0]: {sys.path[0]}\")\n\n# \u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306e\u5bfe\u51e6\ndef safe_get_script_path():\n    \"\"\"__file__\u304c\u4f7f\u3048\u306a\u3044\u74b0\u5883\u3067\u3082\u52d5\u4f5c\u3059\u308b\u5b89\u5168\u306a\u95a2\u6570\"\"\"\n    try:\n        return Path(__file__).resolve()\n    except NameError:\n        # __file__\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\uff08\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u306a\u3069\uff09\n        if len(sys.argv) &gt; 0 and sys.argv[0]:\n            return Path(sys.argv[0]).resolve()\n        else:\n            return Path.cwd()\n\n# \u4f7f\u7528\u4f8b\nif __name__ == \"__main__\":\n    debug_file_paths()\n    script_path = safe_get_script_path()\n    print(f\"\u5b89\u5168\u306a\u53d6\u5f97\u65b9\u6cd5: {script_path}\")\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p><code>__file__<\/code>\u5909\u6570\u306f\u3001Python\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5834\u6240\u3092\u57fa\u6e96\u3068\u3057\u305f\u67d4\u8edf\u306a\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u53ef\u80fd\u306b\u3059\u308b\u91cd\u8981\u306a\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p><strong>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\uff1a<\/strong><\/p>\n<p><strong>\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5<\/strong><\/p>\n<ul>\n<li><code>__file__<\/code>\u3067\u73fe\u5728\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d1\u30b9\u3092\u53d6\u5f97<\/li>\n<li><code>Path(__file__).parent<\/code>\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97<\/li>\n<li><code>Path(__file__).resolve()<\/code>\u3067\u7d76\u5bfe\u30d1\u30b9\u3092\u53d6\u5f97<\/li>\n<\/ul>\n<p><strong>\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u5834\u9762<\/strong><\/p>\n<ul>\n<li>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u76f8\u5bfe\u30d1\u30b9\u6307\u5b9a<\/li>\n<li>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b\u5148\u7ba1\u7406<\/li>\n<li>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f<\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u9020\u306b\u4f9d\u5b58\u3057\u306a\u3044\u67d4\u8edf\u306a\u5b9f\u88c5<\/li>\n<\/ul>\n<p><strong>\u6ce8\u610f\u70b9<\/strong><\/p>\n<ul>\n<li>\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306f<code>__file__<\/code>\u304c\u672a\u5b9a\u7fa9<\/li>\n<li>\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u305f\u74b0\u5883\u3067\u306f\u5225\u306e\u65b9\u6cd5\u304c\u5fc5\u8981<\/li>\n<li>\u5e38\u306b\u4f8b\u5916\u51e6\u7406\u3092\u542b\u3081\u305f\u5b89\u5168\u306a\u5b9f\u88c5\u3092\u5fc3\u304c\u3051\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u77e5\u8b58\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u4fdd\u5b88\u6027\u304c\u9ad8\u304f\u3001\u74b0\u5883\u306b\u4f9d\u5b58\u3057\u306a\u3044Python\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0<a href=\"https:\/\/amzn.to\/3VxGkpx\">\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u300c\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u300d\u3068\u306f\uff1f<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"MXAAkMzcVm\"><a href=\"https:\/\/techgym.jp\/about\/rakurakupython\/\">\u3010\u9769\u547d\u7684\u5b66\u7fd2\u6cd5\u3011\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u3001\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3068\u3044\u3046\u65b0\u6642\u4ee3\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7fd2\u5f97\u8853<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u9769\u547d\u7684\u5b66\u7fd2\u6cd5\u3011\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u3001\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3068\u3044\u3046\u65b0\u6642\u4ee3\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7fd2\u5f97\u8853&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/rakurakupython\/embed\/#?secret=go1nqYbMEG#?secret=MXAAkMzcVm\" data-secret=\"MXAAkMzcVm\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"5o2MK2px7R\"><a href=\"https:\/\/techgym.jp\/column\/ori-app\/\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/column\/ori-app\/embed\/#?secret=12GYIHkK6P#?secret=5o2MK2px7R\" data-secret=\"5o2MK2px7R\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"5JSLzLrxse\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=SJtKLbpsid#?secret=5JSLzLrxse\" data-secret=\"5JSLzLrxse\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u300c\u6b66\u7530\u587e\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7248\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u5b89\u304f\u3001\u3057\u304b\u3082\u5bfe\u9762\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"WFKajho7GO\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=72GSZVyTOn#?secret=WFKajho7GO\" data-secret=\"WFKajho7GO\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"O0wumrGkyW\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=MaNlmXWieg#?secret=O0wumrGkyW\" data-secret=\"O0wumrGkyW\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u67081\u958b\u50ac\uff1e\u653e\u9001\u4f5c\u5bb6\u306b\u3088\u308b\u6620\u50cf\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u990a\u6210\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"FxYhEOfvxI\"><a href=\"https:\/\/techgym.jp\/event\/video_director\/\">\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/video_director\/embed\/#?secret=i47UMrYXTk#?secret=FxYhEOfvxI\" data-secret=\"FxYhEOfvxI\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"VYjMFqG7GH\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=IlOnUY0fX8#?secret=VYjMFqG7GH\" data-secret=\"VYjMFqG7GH\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><style>\n.ranking-table {\n    width: 100%;\n    border-collapse: collapse;\n    margin: 20px 0;\n}\n.ranking-table td {\n    padding: 20px;\n    border: 1px solid #e0e0e0;\n    vertical-align: top;\n}\n.ranking-table td:first-child {\n    width: 200px;\n    text-align: center;\n    background-color: #f9f9f9;\n}\n.ranking-table img {\n    display: block;\n    margin: 10px auto;\n    max-width: 100%;\n    height: auto;\n}\n.ranking-table a {\n    color: #0066cc;\n    text-decoration: none;\n    font-weight: bold;\n}\n.ranking-table a:hover {\n    text-decoration: underline;\n}\n<\/style><\/p>\n<table class=\"ranking-table\">\n<tbody>\n<tr>\n<td><a href=\"\/\/af.moshimo.com\/af\/c\/click?a_id=5161740&amp;p_id=6820&amp;pc_id=19517&amp;pl_id=90728\" rel=\"nofollow\" referrerpolicy=\"no-referrer-when-downgrade\" attributionsrc=\"\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/image.moshimo.com\/af-img\/6634\/000000090728.png?resize=120%2C60\" width=\"120\" height=\"60\" style=\"border: none;\" \/><\/a><img decoding=\"async\" src=\"\/\/i.moshimo.com\/af\/i\/impression?a_id=5161740&amp;p_id=6820&amp;pc_id=19517&amp;pl_id=90728\" width=\"1\" height=\"1\" style=\"border: none;\" loading=\"lazy\" \/><strong><a href=\"http:\/\/msm.to\/2ULVG5u\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30dc\u30fc\u30c9<\/a><\/strong><\/td>\n<td>\n<p><strong>20\u4e07\u4ef6\u4ee5\u4e0a\u306e\u6848\u4ef6\u304b\u3089\u3001\u526f\u696d\u306b\u6700\u9069\u306a\u30ea\u30e2\u30fc\u30c8\u30fb\u90313\u301c\u306e\u6848\u4ef6\u3092\u4e00\u62ec\u691c\u7d22\u3067\u304d\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3002<\/strong><strong>\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u767b\u9332\u3067AI\u30b9\u30ab\u30a6\u30c8\u304c\u81ea\u52d5\u7684\u306b\u30de\u30c3\u30c1\u30f3\u30b0\u6848\u4ef6\u3092\u63d0\u6848\u3002<\/strong><strong>\u5e02\u5834\u7d71\u8a08\u3084\u5358\u4fa1\u76f8\u5834\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u53e3\u30b3\u30df\u3082\u7121\u6599\u3067\u95b2\u89a7\u53ef\u80fd\u306a\u305f\u3081\u3001\u672c\u696d\u3092\u7d9a\u3051\u306a\u304c\u3089\u52b9\u7387\u7684\u306b\u9ad8\u5358\u4fa1\u306e\u526f\u696d\u6848\u4ef6\u3092\u63a2\u305b\u307e\u3059\u3002<a href=\"http:\/\/msm.to\/2ULVG5u\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30dc\u30fc\u30c9<\/a><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+61C2P\" rel=\"nofollow\"> <img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"120\" height=\"60\" alt=\"\" src=\"https:\/\/www29.a8.net\/svt\/bgt?aid=250928846375&amp;wid=001&amp;eno=01&amp;mid=s00000018714001014000&amp;mc=1\" \/><\/a> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/i0.wp.com\/www14.a8.net\/0.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" \/> <strong><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+5YJRM\" target=\"_blank\" rel=\"noopener\">IT\u30d7\u30ed\u30d1\u30fc\u30c8\u30ca\u30fc\u30ba<\/a><\/strong><\/td>\n<td>\n<p><strong>\u90312\u301c3\u65e5\u304b\u3089\u50cd\u3051\u308b\u67d4\u8edf\u306a\u6848\u4ef6\u304c\u696d\u754c\u30c8\u30c3\u30d7\u30af\u30e9\u30b9\u306e\u8c4a\u5bcc\u3055\u3092\u8a87\u308b\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3002<\/strong><strong>\u30a8\u30f3\u30c9\u76f4\u5951\u7d04\u306e\u305f\u3081\u9ad8\u5358\u4fa1\u3067\u3001\u90313\u65e5\u7a3c\u50cd\u3067\u3082\u5341\u5206\u306a\u5831\u916c\u3092\u5f97\u3089\u308c\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8\u3084\u6642\u9593\u30d5\u30ec\u30ad\u30b7\u30d6\u30eb\u306a\u6848\u4ef6\u3082\u591a\u6570\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u30fb\u30d9\u30f3\u30c1\u30e3\u30fc\u4e2d\u5fc3\u3067\u3001\u30c8\u30ec\u30f3\u30c9\u6280\u8853\u3092\u4f7f\u3063\u305f\u9b45\u529b\u7684\u306a\u6848\u4ef6\u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u3002\u5c02\u5c5e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u6848\u4ef6\u7d39\u4ecb\u304b\u3089\u5951\u7d04\u4ea4\u6e09\u307e\u3067\u30b5\u30dd\u30fc\u30c8\u3002\u5229\u7528\u4f01\u696d2,000\u793e\u4ee5\u4e0a\u306e\u5b9f\u7e3e\u3002<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45E9XQ+679KMQ+40EC+5YJRM\" target=\"_blank\" rel=\"noopener\">IT\u30d7\u30ed\u30d1\u30fc\u30c8\u30ca\u30fc\u30ba<\/a><\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BYLJL\" rel=\"nofollow\"> <img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"100\" height=\"60\" alt=\"\" src=\"https:\/\/www21.a8.net\/svt\/bgt?aid=251019989646&amp;wid=001&amp;eno=01&amp;mid=s00000017868002009000&amp;mc=1\" \/><\/a> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/i0.wp.com\/www16.a8.net\/0.gif?resize=1%2C1&#038;ssl=1\" alt=\"\" \/> <strong> <a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BWVTE\" target=\"_blank\" rel=\"noopener\">Midworks<\/a> <\/strong><\/td>\n<td><strong>10,000\u4ef6\u4ee5\u4e0a\u306e\u6848\u4ef6\u3092\u4fdd\u6709\u3057\u3001\u90313\u65e5\u301c\u30fb\u30d5\u30eb\u30ea\u30e2\u30fc\u30c8\u306a\u3069\u67d4\u8edf\u306a\u50cd\u304d\u65b9\u306b\u5bfe\u5fdc\u3002\u9ad8\u5358\u4fa1\u6848\u4ef6\u304c\u8c4a\u5bcc\u3067\u3001\u5831\u916c\u4fdd\u969c\u5236\u5ea6\uff0860%\uff09\u3084\u4fdd\u967a\u6599\u8ca0\u62c5\uff0850%\uff09\u306a\u3069\u6b63\u793e\u54e1\u4e26\u307f\u306e\u624b\u539a\u3044\u798f\u5229\u539a\u751f\u304c\u7279\u5fb4\u3002\u901a\u52e4\u4ea4\u901a\u8cbb\uff08\u67083\u4e07\u5186\uff09\u3001\u30b9\u30ad\u30eb\u30a2\u30c3\u30d7\u8cbb\u7528\uff08\u67081\u4e07\u5186\uff09\u306e\u652f\u7d66\u306b\u52a0\u3048\u3001\u30ea\u30ed\u30af\u30e9\u30d6\u30fbfreee\u304c\u7121\u6599\u5229\u7528\u53ef\u80fd\u3002\u975e\u516c\u958b\u6848\u4ef680%\u4ee5\u4e0a\u3001\u652f\u6255\u3044\u30b5\u30a4\u30c820\u65e5\u3067\u5b89\u5fc3\u3057\u3066\u7a3c\u50cd\u3067\u304d\u307e\u3059\u3002<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=45G89H+AOM1KI+3TVC+BWVTE\" target=\"_blank\" rel=\"noopener\">Midworks<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30dc\u30fc\u30c9 20\u4e07\u4ef6\u4ee5\u4e0a\u306e\u6848\u4ef6\u304b\u3089\u3001\u526f\u696d\u306b\u6700\u9069\u306a\u30ea\u30e2\u30fc\u30c8\u30fb\u90313\u301c\u306e\u6848\u4ef6\u3092\u4e00\u62ec\u691c\u7d22\u3067\u304d\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3002\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u767b\u9332\u3067AI\u30b9\u30ab\u30a6\u30c8\u304c\u81ea\u52d5\u7684\u306b\u30de\u30c3\u30c1\u30f3\u30b0\u6848\u4ef6\u3092\u63d0\u6848\u3002\u5e02\u5834\u7d71\u8a08\u3084\u5358\u4fa1\u76f8\u5834\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u53e3\u30b3\u30df\u3082\u7121\u6599 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-43717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":117,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/07\/f3403acf5c65aedec0dba821c4c26404.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=43717"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43717\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/42501"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=43717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=43717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=43717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}