{"id":42955,"date":"2025-07-29T10:04:25","date_gmt":"2025-07-29T01:04:25","guid":{"rendered":"https:\/\/techgym.jp\/?p=42955"},"modified":"2025-10-20T00:01:40","modified_gmt":"2025-10-19T15:01:40","slug":"join","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/join\/","title":{"rendered":"\u3010Python\u5165\u9580\u3011join\u95a2\u6570\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u5b8c\u5168\u89e3\u8aac\uff01\u6587\u5b57\u5217\u7d50\u5408\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u8df5\u4f8b"},"content":{"rendered":"\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>Python\u306e<code>join()<\/code>\u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3084\u4ed6\u306e\u30a4\u30c6\u30e9\u30d6\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52b9\u7387\u7684\u306b\u7d50\u5408\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u6587\u5b57\u5217\u64cd\u4f5c\u306b\u304a\u3044\u3066\u983b\u7e41\u306b\u4f7f\u7528\u3055\u308c\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u3067\u975e\u5e38\u306b\u6709\u7528\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<code>join()<\/code>\u306e\u57fa\u672c\u304b\u3089\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u307e\u3067\u3001\u521d\u5fc3\u8005\u306e\u65b9\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n<h2>join()\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n<p><code>join()<\/code>\u306f\u6587\u5b57\u5217\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u3064\u3067\u3001\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3084\u30bf\u30d7\u30eb\u306a\u3069\u306e\u30a4\u30c6\u30e9\u30d6\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u3001\u6307\u5b9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u7d50\u5408\u3059\u308b\u6a5f\u80fd\u3067\u3059\u3002\u52b9\u7387\u7684\u3067\u8aad\u307f\u3084\u3059\u3044\u6587\u5b57\u5217\u7d50\u5408\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>join()\u306e\u57fa\u672c\u7684\u306a\u7279\u5fb4<\/h3>\n<ul>\n<li><strong>\u6587\u5b57\u5217\u30e1\u30bd\u30c3\u30c9<\/strong>: \u533a\u5207\u308a\u6587\u5b57\u3068\u306a\u308b\u6587\u5b57\u5217\u306b\u5bfe\u3057\u3066\u547c\u3073\u51fa\u3059<\/li>\n<li><strong>\u30a4\u30c6\u30e9\u30d6\u30eb\u5bfe\u5fdc<\/strong>: \u30ea\u30b9\u30c8\u3001\u30bf\u30d7\u30eb\u3001\u30bb\u30c3\u30c8\u306a\u3069\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u578b\u306b\u5bfe\u5fdc<\/li>\n<li><strong>\u9ad8\u52b9\u7387<\/strong>: +\u6f14\u7b97\u5b50\u3067\u306e\u7d50\u5408\u3088\u308a\u9ad8\u901f<\/li>\n<li><strong>\u578b\u5236\u9650<\/strong>: \u7d50\u5408\u5bfe\u8c61\u306f\u6587\u5b57\u5217\u306e\u307f<\/li>\n<\/ul>\n<h2>\u57fa\u672c\u7684\u306ajoin()\u306e\u4f7f\u3044\u65b9<\/h2>\n<h3>1. \u30ea\u30b9\u30c8\u306e\u6587\u5b57\u5217\u3092\u7d50\u5408<\/h3>\n<pre><code class=\"language-python\"># \u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u7d50\u5408\nfruits = [\"\u308a\u3093\u3054\", \"\u30d0\u30ca\u30ca\", \"\u30aa\u30ec\u30f3\u30b8\"]\nresult = \", \".join(fruits)\nprint(result)  # \u308a\u3093\u3054, \u30d0\u30ca\u30ca, \u30aa\u30ec\u30f3\u30b8\n\n# \u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\u7d50\u5408\nwords = [\"Hello\", \"World\", \"Python\"]\nsentence = \" \".join(words)\nprint(sentence)  # Hello World Python\n\n# \u533a\u5207\u308a\u6587\u5b57\u306a\u3057\u3067\u7d50\u5408\nletters = [\"a\", \"b\", \"c\", \"d\"]\ntext = \"\".join(letters)\nprint(text)  # abcd\n<\/code><\/pre>\n<h3>2. \u69d8\u3005\u306a\u533a\u5207\u308a\u6587\u5b57\u3067\u306e\u7d50\u5408<\/h3>\n<pre><code class=\"language-python\">names = [\"\u7530\u4e2d\", \"\u4f50\u85e4\", \"\u9234\u6728\"]\n\n# \u30cf\u30a4\u30d5\u30f3\u533a\u5207\u308a\nhyphen_result = \"-\".join(names)\nprint(hyphen_result)  # \u7530\u4e2d-\u4f50\u85e4-\u9234\u6728\n\n# \u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u533a\u5207\u308a\nunderscore_result = \"_\".join(names)\nprint(underscore_result)  # \u7530\u4e2d_\u4f50\u85e4_\u9234\u6728\n\n# \u6539\u884c\u533a\u5207\u308a\nline_result = \"\\n\".join(names)\nprint(line_result)\n# \u7530\u4e2d\n# \u4f50\u85e4\n# \u9234\u6728\n\n# HTML\u30bf\u30b0\u533a\u5207\u308a\nhtml_result = \"&lt;\/li&gt;&lt;li&gt;\".join(names)\nprint(f\"&lt;li&gt;{html_result}&lt;\/li&gt;\")  # &lt;li&gt;\u7530\u4e2d&lt;\/li&gt;&lt;li&gt;\u4f50\u85e4&lt;\/li&gt;&lt;li&gt;\u9234\u6728&lt;\/li&gt;\n<\/code><\/pre>\n<h3>3. \u6570\u5024\u3092\u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u7d50\u5408<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]\n\n# map()\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u306b\u5909\u63db\nnumber_string = \", \".join(map(str, numbers))\nprint(number_string)  # 1, 2, 3, 4, 5\n\n# \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067\u5909\u63db\nnumber_string2 = \"-\".join([str(n) for n in numbers])\nprint(number_string2)  # 1-2-3-4-5\n\n# f\u6587\u5b57\u5217\u3067\u5909\u63db\nnumber_string3 = \" | \".join([f\"{n:02d}\" for n in numbers])\nprint(number_string3)  # 01 | 02 | 03 | 04 | 05\n<\/code><\/pre>\n<h2>join()\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n<pre><code class=\"language-python\"># \u57fa\u672c\u69cb\u6587\n\u533a\u5207\u308a\u6587\u5b57.join(\u30a4\u30c6\u30e9\u30d6\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\n\n# \u4f8b\nseparator = \", \"\niterable = [\"\u8981\u7d201\", \"\u8981\u7d202\", \"\u8981\u7d203\"]\nresult = separator.join(iterable)\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306ajoin()\u306e\u6d3b\u7528\u4f8b<\/h2>\n<h3>1. CSV\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u4f5c\u6210<\/h3>\n<pre><code class=\"language-python\"># CSV\u30d8\u30c3\u30c0\u30fc\u306e\u4f5c\u6210\nheaders = [\"\u540d\u524d\", \"\u5e74\u9f62\", \"\u8077\u696d\", \"\u90fd\u5e02\"]\ncsv_header = \",\".join(headers)\nprint(csv_header)  # \u540d\u524d,\u5e74\u9f62,\u8077\u696d,\u90fd\u5e02\n\n# CSV\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\ndef create_csv_line(name, age, job, city):\n    \"\"\"CSV\u306e1\u884c\u3092\u4f5c\u6210\"\"\"\n    data = [name, str(age), job, city]\n    return \",\".join(data)\n\ncsv_data = []\ncsv_data.append(csv_header)\ncsv_data.append(create_csv_line(\"\u7530\u4e2d\u592a\u90ce\", 30, \"\u30a8\u30f3\u30b8\u30cb\u30a2\", \"\u6771\u4eac\"))\ncsv_data.append(create_csv_line(\"\u4f50\u85e4\u82b1\u5b50\", 25, \"\u30c7\u30b6\u30a4\u30ca\u30fc\", \"\u5927\u962a\"))\n\n# CSV\u5168\u4f53\u3092\u7d50\u5408\ncsv_content = \"\\n\".join(csv_data)\nprint(csv_content)\n# \u540d\u524d,\u5e74\u9f62,\u8077\u696d,\u90fd\u5e02\n# \u7530\u4e2d\u592a\u90ce,30,\u30a8\u30f3\u30b8\u30cb\u30a2,\u6771\u4eac\n# \u4f50\u85e4\u82b1\u5b50,25,\u30c7\u30b6\u30a4\u30ca\u30fc,\u5927\u962a\n<\/code><\/pre>\n<h3>2. SQL\u30af\u30a8\u30ea\u306e\u52d5\u7684\u751f\u6210<\/h3>\n<pre><code class=\"language-python\">def build_select_query(table, columns=None, conditions=None):\n    \"\"\"SELECT\u6587\u3092\u52d5\u7684\u306b\u751f\u6210\"\"\"\n    # \u30ab\u30e9\u30e0\u6307\u5b9a\n    if columns:\n        column_part = \", \".join(columns)\n    else:\n        column_part = \"*\"\n    \n    # \u57fa\u672c\u30af\u30a8\u30ea\n    query = f\"SELECT {column_part} FROM {table}\"\n    \n    # \u6761\u4ef6\u8ffd\u52a0\n    if conditions:\n        condition_part = \" AND \".join(conditions)\n        query += f\" WHERE {condition_part}\"\n    \n    return query\n\n# \u4f7f\u7528\u4f8b\ncolumns = [\"name\", \"age\", \"email\"]\nconditions = [\"age &gt;= 18\", \"city = 'Tokyo'\", \"active = 1\"]\n\nquery = build_select_query(\"users\", columns, conditions)\nprint(query)\n# SELECT name, age, email FROM users WHERE age &gt;= 18 AND city = 'Tokyo' AND active = 1\n<\/code><\/pre>\n<h3>3. HTML\u30bf\u30b0\u306e\u751f\u6210<\/h3>\n<pre><code class=\"language-python\">def create_html_list(items, list_type=\"ul\"):\n    \"\"\"HTML\u30ea\u30b9\u30c8\u3092\u751f\u6210\"\"\"\n    list_items = [f\"&lt;li&gt;{item}&lt;\/li&gt;\" for item in items]\n    list_content = \"\\n    \".join(list_items)\n    return f\"&lt;{list_type}&gt;\\n    {list_content}\\n&lt;\/{list_type}&gt;\"\n\ndef create_html_table(headers, rows):\n    \"\"\"HTML\u30c6\u30fc\u30d6\u30eb\u3092\u751f\u6210\"\"\"\n    # \u30d8\u30c3\u30c0\u30fc\u884c\n    header_cells = [f\"&lt;th&gt;{header}&lt;\/th&gt;\" for header in headers]\n    header_row = f\"  &lt;tr&gt;{''.join(header_cells)}&lt;\/tr&gt;\"\n    \n    # \u30c7\u30fc\u30bf\u884c\n    data_rows = []\n    for row in rows:\n        cells = [f\"&lt;td&gt;{cell}&lt;\/td&gt;\" for cell in row]\n        data_rows.append(f\"  &lt;tr&gt;{''.join(cells)}&lt;\/tr&gt;\")\n    \n    # \u30c6\u30fc\u30d6\u30eb\u5168\u4f53\n    all_rows = [header_row] + data_rows\n    table_content = \"\\n\".join(all_rows)\n    return f\"&lt;table&gt;\\n{table_content}\\n&lt;\/table&gt;\"\n\n# \u4f7f\u7528\u4f8b\nfruits = [\"\u308a\u3093\u3054\", \"\u30d0\u30ca\u30ca\", \"\u30aa\u30ec\u30f3\u30b8\"]\nhtml_list = create_html_list(fruits)\nprint(html_list)\n\n# \u30c6\u30fc\u30d6\u30eb\u4f8b\ntable_headers = [\"\u540d\u524d\", \"\u5e74\u9f62\"]\ntable_rows = [[\"\u7530\u4e2d\", \"30\"], [\"\u4f50\u85e4\", \"25\"]]\nhtml_table = create_html_table(table_headers, table_rows)\nprint(html_table)\n<\/code><\/pre>\n<h3>4. \u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u69cb\u7bc9<\/h3>\n<pre><code class=\"language-python\">import os\n\ndef build_file_path(*path_components):\n    \"\"\"\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u4f9d\u5b58\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u69cb\u7bc9\"\"\"\n    # Windows\u3067\u306f\\\u3001Unix\u7cfb\u3067\u306f\/\u3092\u4f7f\u7528\n    return os.sep.join(path_components)\n\ndef build_url_path(*path_components):\n    \"\"\"URL\u7528\u306e\u30d1\u30b9\u3092\u69cb\u7bc9\"\"\"\n    # URL\u3067\u306f\u5e38\u306b\/\u3092\u4f7f\u7528\n    return \"\/\".join(path_components)\n\n# \u4f7f\u7528\u4f8b\nfile_path = build_file_path(\"home\", \"user\", \"documents\", \"file.txt\")\nprint(file_path)  # \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5fdc\u3058\u3066 home\/user\/documents\/file.txt \u307e\u305f\u306f home\\user\\documents\\file.txt\n\nurl_path = build_url_path(\"api\", \"v1\", \"users\", \"123\")\nprint(f\"https:\/\/example.com\/{url_path}\")  # https:\/\/example.com\/api\/v1\/users\/123\n<\/code><\/pre>\n<h3>5. \u30ed\u30b0\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u4f5c\u6210<\/h3>\n<pre><code class=\"language-python\">from datetime import datetime\n\nclass LogFormatter:\n    def __init__(self, separator=\" | \"):\n        self.separator = separator\n    \n    def format_log(self, level, message, **kwargs):\n        \"\"\"\u30ed\u30b0\u30a8\u30f3\u30c8\u30ea\u3092\u6574\u5f62\"\"\"\n        timestamp = datetime.now().strftime(\"%Y-%m-%d %H:%M:%S\")\n        \n        # \u57fa\u672c\u8981\u7d20\n        components = [timestamp, level.upper(), message]\n        \n        # \u8ffd\u52a0\u60c5\u5831\u304c\u3042\u308c\u3070\u8ffd\u52a0\n        if kwargs:\n            extra_info = \", \".join([f\"{k}={v}\" for k, v in kwargs.items()])\n            components.append(f\"[{extra_info}]\")\n        \n        return self.separator.join(components)\n\n# \u4f7f\u7528\u4f8b\nlogger = LogFormatter()\n\nlog1 = logger.format_log(\"info\", \"\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3057\u305f\")\nlog2 = logger.format_log(\"error\", \"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u30a8\u30e9\u30fc\", user_id=123, attempt=3)\n\nprint(log1)\nprint(log2)\n# 2025-07-29 15:30:45 | INFO | \u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3057\u305f\n# 2025-07-29 15:30:45 | ERROR | \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u30a8\u30e9\u30fc | [user_id=123, attempt=3]\n<\/code><\/pre>\n<h2>\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u578b\u3067\u306ejoin()\u4f7f\u7528<\/h2>\n<h3>1. \u30bf\u30d7\u30eb\u3068\u30bb\u30c3\u30c8\u3067\u306e\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\"># \u30bf\u30d7\u30eb\u3067\u306e\u4f7f\u7528\ncolors_tuple = (\"\u8d64\", \"\u9752\", \"\u7dd1\")\ncolor_string = \", \".join(colors_tuple)\nprint(color_string)  # \u8d64, \u9752, \u7dd1\n\n# \u30bb\u30c3\u30c8\u3067\u306e\u4f7f\u7528\uff08\u9806\u5e8f\u306f\u4fdd\u8a3c\u3055\u308c\u306a\u3044\uff09\ncolors_set = {\"\u8d64\", \"\u9752\", \"\u7dd1\"}\ncolor_string_set = \", \".join(colors_set)\nprint(color_string_set)  # \u9806\u5e8f\u306f\u5b9f\u884c\u6642\u306b\u3088\u308a\u7570\u306a\u308b\n\n# \u8f9e\u66f8\u306e\u30ad\u30fc\u3067\u306e\u4f7f\u7528\nperson = {\"name\": \"\u7530\u4e2d\", \"age\": \"30\", \"city\": \"\u6771\u4eac\"}\nkeys_string = \", \".join(person.keys())\nprint(keys_string)  # name, age, city\n<\/code><\/pre>\n<h3>2. \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5f0f\u3067\u306e\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\"># \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5f0f\u3067\u6761\u4ef6\u4ed8\u304d\u7d50\u5408\nnumbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\neven_numbers = \", \".join(str(n) for n in numbers if n % 2 == 0)\nprint(even_numbers)  # 2, 4, 6, 8, 10\n\n# \u5909\u63db\u3092\u542b\u3080\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5f0f\ntemperatures = [20, 25, 30, 35]\nformatted_temps = \" | \".join(f\"{temp}\u00b0C\" for temp in temperatures)\nprint(formatted_temps)  # 20\u00b0C | 25\u00b0C | 30\u00b0C | 35\u00b0C\n<\/code><\/pre>\n<h2>join()\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6bd4\u8f03<\/h2>\n<h3>+\u6f14\u7b97\u5b50\u3068\u306e\u6bd4\u8f03<\/h3>\n<pre><code class=\"language-python\">import time\n\ndef join_method(strings):\n    \"\"\"join()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\"\"\"\n    return \"\".join(strings)\n\ndef plus_method(strings):\n    \"\"\"+ \u6f14\u7b97\u5b50\u3092\u4f7f\u7528\"\"\"\n    result = \"\"\n    for s in strings:\n        result += s\n    return result\n\n# \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c6\u30b9\u30c8\u7528\u306e\u30c7\u30fc\u30bf\ntest_strings = [\"\u6587\u5b57\u5217\" + str(i) for i in range(1000)]\n\n# join()\u306e\u30c6\u30b9\u30c8\nstart_time = time.time()\nresult1 = join_method(test_strings)\njoin_time = time.time() - start_time\n\n# +\u6f14\u7b97\u5b50\u306e\u30c6\u30b9\u30c8\nstart_time = time.time()\nresult2 = plus_method(test_strings)\nplus_time = time.time() - start_time\n\nprint(f\"join()\u30e1\u30bd\u30c3\u30c9: {join_time:.6f}\u79d2\")\nprint(f\"+\u6f14\u7b97\u5b50: {plus_time:.6f}\u79d2\")\nprint(f\"join()\u306f\u7d04{plus_time\/join_time:.1f}\u500d\u9ad8\u901f\")\n<\/code><\/pre>\n<h2>\u3088\u304f\u3042\u308b\u9593\u9055\u3044\u3068\u6ce8\u610f\u70b9<\/h2>\n<h3>1. \u6570\u5024\u306e\u76f4\u63a5\u7d50\u5408\u30a8\u30e9\u30fc<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]\n\n# \u274c \u30a8\u30e9\u30fc - \u6570\u5024\u306f\u7d50\u5408\u3067\u304d\u306a\u3044\n# result = \", \".join(numbers)  # TypeError\n\n# \u2705 \u6b63\u89e3 - \u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u7d50\u5408\nresult = \", \".join(map(str, numbers))\nprint(result)  # 1, 2, 3, 4, 5\n\n# \u2705 \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067\u306e\u5909\u63db\nresult2 = \", \".join([str(n) for n in numbers])\nprint(result2)  # 1, 2, 3, 4, 5\n<\/code><\/pre>\n<h3>2. \u7a7a\u306e\u30a4\u30c6\u30e9\u30d6\u30eb\u3067\u306e\u7d50\u5408<\/h3>\n<pre><code class=\"language-python\"># \u7a7a\u306e\u30ea\u30b9\u30c8\u3067\u3082\u554f\u984c\u306a\u3057\nempty_list = []\nresult = \", \".join(empty_list)\nprint(f\"'{result}'\")  # ''\uff08\u7a7a\u6587\u5b57\u5217\uff09\n\n# None\u5024\u3092\u542b\u3080\u5834\u5408\u306e\u5bfe\u51e6\nmixed_list = [\"a\", None, \"b\", \"\", \"c\"]\n# \u274c \u30a8\u30e9\u30fc - None\u306f\u7d50\u5408\u3067\u304d\u306a\u3044\n# result = \", \".join(mixed_list)  # TypeError\n\n# \u2705 \u6b63\u89e3 - None\u3092\u9664\u5916\u307e\u305f\u306f\u5909\u63db\nsafe_list = [str(item) if item is not None else \"\" for item in mixed_list]\nresult = \", \".join(safe_list)\nprint(result)  # a, , b, , c\n<\/code><\/pre>\n<h3>3. \u533a\u5207\u308a\u6587\u5b57\u306e\u9078\u629e<\/h3>\n<pre><code class=\"language-python\"># \u30d5\u30a1\u30a4\u30eb\u540d\u306b\u4f7f\u3048\u306a\u3044\u6587\u5b57\u306e\u6ce8\u610f\nfilenames = [\"file1.txt\", \"file2.txt\", \"file3.txt\"]\n\n# \u274c \u30d5\u30a1\u30a4\u30eb\u540d\u306b\u4e0d\u9069\u5207\u306a\u6587\u5b57\n# bad_filename = \"\/\".join(filenames)  # Unix\u7cfb\u3067\u306f\u554f\u984c\n\n# \u2705 \u5b89\u5168\u306a\u533a\u5207\u308a\u6587\u5b57\nsafe_filename = \"_\".join([name.replace(\".txt\", \"\") for name in filenames])\nprint(safe_filename)  # file1_file2_file3\n<\/code><\/pre>\n<h2>join()\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<h3>1. \u8aad\u307f\u3084\u3059\u3044\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9<\/h3>\n<pre><code class=\"language-python\"># \u2705 \u8aad\u307f\u3084\u3059\u3044\u66f8\u304d\u65b9\ndef create_user_summary(user_data):\n    \"\"\"\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u30b5\u30de\u30ea\u30fc\u3092\u4f5c\u6210\"\"\"\n    parts = []\n    \n    if user_data.get(\"name\"):\n        parts.append(f\"\u540d\u524d: {user_data['name']}\")\n    \n    if user_data.get(\"age\"):\n        parts.append(f\"\u5e74\u9f62: {user_data['age']}\u6b73\")\n    \n    if user_data.get(\"city\"):\n        parts.append(f\"\u5c45\u4f4f\u5730: {user_data['city']}\")\n    \n    return \" | \".join(parts)\n\nuser = {\"name\": \"\u7530\u4e2d\u592a\u90ce\", \"age\": 30, \"city\": \"\u6771\u4eac\"}\nsummary = create_user_summary(user)\nprint(summary)  # \u540d\u524d: \u7530\u4e2d\u592a\u90ce | \u5e74\u9f62: 30\u6b73 | \u5c45\u4f4f\u5730: \u6771\u4eac\n<\/code><\/pre>\n<h3>2. \u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/h3>\n<pre><code class=\"language-python\">def safe_join(separator, items, convert_func=str):\n    \"\"\"\u5b89\u5168\u306ajoin\u5b9f\u88c5\"\"\"\n    try:\n        converted_items = [convert_func(item) for item in items if item is not None]\n        return separator.join(converted_items)\n    except (TypeError, ValueError) as e:\n        return f\"\u7d50\u5408\u30a8\u30e9\u30fc: {e}\"\n\n# \u4f7f\u7528\u4f8b\nmixed_data = [1, \"text\", 3.14, None, True]\nresult = safe_join(\", \", mixed_data)\nprint(result)  # 1, text, 3.14, True\n<\/code><\/pre>\n<h3>3. \u518d\u5229\u7528\u53ef\u80fd\u306a\u95a2\u6570<\/h3>\n<pre><code class=\"language-python\">class TextJoiner:\n    \"\"\"\u30c6\u30ad\u30b9\u30c8\u7d50\u5408\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30af\u30e9\u30b9\"\"\"\n    \n    @staticmethod\n    def join_with_and(items):\n        \"\"\"\u300c\u3068\u300d\u3067\u81ea\u7136\u306b\u7d50\u5408\"\"\"\n        if not items:\n            return \"\"\n        if len(items) == 1:\n            return str(items[0])\n        if len(items) == 2:\n            return f\"{items[0]}\u3068{items[1]}\"\n        return f\"{', '.join(map(str, items[:-1]))}\u3068{items[-1]}\"\n    \n    @staticmethod\n    def join_lines(lines, indent=0):\n        \"\"\"\u884c\u3092\u7d50\u5408\uff08\u30a4\u30f3\u30c7\u30f3\u30c8\u4ed8\u304d\uff09\"\"\"\n        indent_str = \" \" * indent\n        return \"\\n\".join(f\"{indent_str}{line}\" for line in lines)\n\n# \u4f7f\u7528\u4f8b\nnames = [\"\u7530\u4e2d\", \"\u4f50\u85e4\", \"\u9234\u6728\"]\nnatural_text = TextJoiner.join_with_and(names)\nprint(natural_text)  # \u7530\u4e2d, \u4f50\u85e4\u3068\u9234\u6728\n\ncode_lines = [\"def hello():\", \"print('Hello')\", \"return True\"]\nindented_code = TextJoiner.join_lines(code_lines, indent=4)\nprint(indented_code)\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u306e<code>join()<\/code>\u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u7d50\u5408\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u5f37\u529b\u3067\u52b9\u7387\u7684\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8aad\u307f\u3084\u3059\u304f\u9ad8\u6027\u80fd\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8<\/h3>\n<ul>\n<li><strong>\u533a\u5207\u308a\u6587\u5b57\u306b\u5bfe\u3057\u3066join()\u3092\u547c\u3073\u51fa\u3059<\/strong><\/li>\n<li><strong>\u6587\u5b57\u5217\u306e\u30a4\u30c6\u30e9\u30d6\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307f\u7d50\u5408\u53ef\u80fd<\/strong><\/li>\n<li><strong>+\u6f14\u7b97\u5b50\u3088\u308a\u9ad8\u901f\u3067\u52b9\u7387\u7684<\/strong><\/li>\n<li><strong>map()\u3084\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067\u578b\u5909\u63db\u3057\u3066\u4f7f\u7528<\/strong><\/li>\n<li><strong>\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u9069\u5207\u306b\u5b9f\u88c5<\/strong><\/li>\n<\/ul>\n<p>\u307e\u305a\u306f\u57fa\u672c\u7684\u306a\u6587\u5b57\u5217\u7d50\u5408\u304b\u3089\u59cb\u3081\u3066\u3001\u5f90\u3005\u306b\u8907\u96d1\u306a\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u3084\u30c7\u30fc\u30bf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u7df4\u7fd2\u3059\u308b\u3053\u3068\u3067\u3001<code>join()<\/code>\u306e\u4f7f\u3044\u65b9\u304c\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u4ed8\u304d\u307e\u3059\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0<a href=\"https:\/\/amzn.to\/3VxGkpx\">\u3089\u304f\u3089\u304fPython\u587e &#8211; \u8aad\u3080\u3060\u3051\u3067\u30de\u30b9\u30bf\u30fc<\/a><\/h2>\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<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=\"MlsYSQtFPk\"><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=5U3v6koAnW#?secret=MlsYSQtFPk\" data-secret=\"MlsYSQtFPk\" 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=\"47ZnXVsC0G\"><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=ljreG7zM7I#?secret=47ZnXVsC0G\" data-secret=\"47ZnXVsC0G\" 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=\"NbW72i8YXD\"><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=nfH8aJHEwS#?secret=NbW72i8YXD\" data-secret=\"NbW72i8YXD\" 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=\"t5H8KYbxDR\"><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=5nwJschxZl#?secret=t5H8KYbxDR\" data-secret=\"t5H8KYbxDR\" 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=\"OfSfu5uuV7\"><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=KFJa7jT32z#?secret=OfSfu5uuV7\" data-secret=\"OfSfu5uuV7\" 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=\"Racz5Qe94N\"><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=s4XJN1yAHR#?secret=Racz5Qe94N\" data-secret=\"Racz5Qe94N\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306ejoin()\u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3084\u4ed6\u306e\u30a4\u30c6\u30e9\u30d6\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u52b9\u7387\u7684\u306b\u7d50\u5408\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u6587\u5b57\u5217\u64cd\u4f5c\u306b\u304a\u3044\u3066\u983b\u7e41\u306b\u4f7f\u7528\u3055\u308c\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u3067\u975e\u5e38\u306b\u6709\u7528\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001join( [&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-42955","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":89,"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\/42955","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=42955"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42955\/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=42955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=42955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=42955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}