{"id":43856,"date":"2025-08-05T16:14:32","date_gmt":"2025-08-05T07:14:32","guid":{"rendered":"https:\/\/techgym.jp\/?p=43856"},"modified":"2025-08-05T16:14:37","modified_gmt":"2025-08-05T07:14:37","slug":"python-slice","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-slice\/","title":{"rendered":"Python\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u5b8c\u5168\u30de\u30b9\u30bf\u30fc\u30ac\u30a4\u30c9 &#8211; \u57fa\u672c\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>\u00a0<\/p>\n<p>Python\u306e\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306f\u3001\u30ea\u30b9\u30c8\u3001\u6587\u5b57\u5217\u3001\u30bf\u30d7\u30eb\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u578b\u30c7\u30fc\u30bf\u304b\u3089\u90e8\u5206\u7684\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u9ad8\u5ea6\u306a\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u7387\u7684\u3067\u8aad\u307f\u3084\u3059\u3044Python\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306e\u3042\u3089\u3086\u308b\u4f7f\u3044\u65b9\u3092\u5b9f\u4f8b\u3068\u3068\u3082\u306b\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>1. \u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n<p>\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306e\u57fa\u672c\u7684\u306a\u69cb\u6587\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n<pre><code class=\"language-python\">sequence[start:stop:step]\n<\/code><\/pre>\n<p>\u6700\u3082\u57fa\u672c\u7684\u306a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-python\">numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\nprint(numbers[2:7])    # [2, 3, 4, 5, 6]\nprint(numbers[:5])     # [0, 1, 2, 3, 4]\nprint(numbers[5:])     # [5, 6, 7, 8, 9]\n<\/code><\/pre>\n<h2>2. \u57fa\u672c\u7684\u306a\u30b9\u30e9\u30a4\u30b9\u64cd\u4f5c<\/h2>\n<h3>\u958b\u59cb\u4f4d\u7f6e\u3068\u7d42\u4e86\u4f4d\u7f6e\u306e\u6307\u5b9a<\/h3>\n<pre><code class=\"language-python\">fruits = [\"apple\", \"banana\", \"orange\", \"grape\", \"melon\"]\nprint(fruits[1:4])     # ['banana', 'orange', 'grape']\nprint(fruits[0:3])     # ['apple', 'banana', 'orange']\n<\/code><\/pre>\n<h3>\u958b\u59cb\u4f4d\u7f6e\u307e\u305f\u306f\u7d42\u4e86\u4f4d\u7f6e\u306e\u7701\u7565<\/h3>\n<pre><code class=\"language-python\">data = [10, 20, 30, 40, 50]\nprint(data[:3])        # [10, 20, 30]\uff08\u6700\u521d\u304b\u30893\u756a\u76ee\u307e\u3067\uff09\nprint(data[2:])        # [30, 40, 50]\uff082\u756a\u76ee\u304b\u3089\u6700\u5f8c\u307e\u3067\uff09\nprint(data[:])         # [10, 20, 30, 40, 50]\uff08\u5168\u4f53\u306e\u30b3\u30d4\u30fc\uff09\n<\/code><\/pre>\n<h2>3. \u30b9\u30c6\u30c3\u30d7\uff08step\uff09\u306e\u6d3b\u7528<\/h2>\n<h3>\u57fa\u672c\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u6307\u5b9a<\/h3>\n<pre><code class=\"language-python\">numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\nprint(numbers[::2])    # [0, 2, 4, 6, 8]\uff082\u3064\u304a\u304d\uff09\nprint(numbers[1::2])   # [1, 3, 5, 7, 9]\uff081\u756a\u76ee\u304b\u30892\u3064\u304a\u304d\uff09\nprint(numbers[::3])    # [0, 3, 6, 9]\uff083\u3064\u304a\u304d\uff09\n<\/code><\/pre>\n<h3>\u9006\u9806\u306e\u53d6\u5f97<\/h3>\n<pre><code class=\"language-python\">text = \"Python\"\nprint(text[::-1])      # \"nohtyP\"\uff08\u6587\u5b57\u5217\u3092\u9006\u9806\u306b\uff09\n\nnumbers = [1, 2, 3, 4, 5]\nprint(numbers[::-1])   # [5, 4, 3, 2, 1]\uff08\u30ea\u30b9\u30c8\u3092\u9006\u9806\u306b\uff09\n<\/code><\/pre>\n<h2>4. \u8ca0\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3063\u305f\u30b9\u30e9\u30a4\u30b9<\/h2>\n<pre><code class=\"language-python\">data = [10, 20, 30, 40, 50, 60, 70]\nprint(data[-3:])       # [50, 60, 70]\uff08\u5f8c\u308d\u304b\u30893\u3064\uff09\nprint(data[:-2])       # [10, 20, 30, 40, 50]\uff08\u5f8c\u308d\u304b\u30892\u3064\u3092\u9664\u304f\uff09\nprint(data[-5:-2])     # [30, 40, 50]\uff08\u5f8c\u308d\u304b\u30895\u756a\u76ee\u301c2\u756a\u76ee\uff09\n<\/code><\/pre>\n<h2>5. \u6587\u5b57\u5217\u3067\u306e\u30b9\u30e9\u30a4\u30b9<\/h2>\n<h3>\u57fa\u672c\u7684\u306a\u6587\u5b57\u5217\u30b9\u30e9\u30a4\u30b9<\/h3>\n<pre><code class=\"language-python\">message = \"Hello World\"\nprint(message[0:5])    # \"Hello\"\nprint(message[6:])     # \"World\"\nprint(message[:5])     # \"Hello\"\nprint(message[::2])    # \"HloWrd\"\uff081\u6587\u5b57\u304a\u304d\uff09\n<\/code><\/pre>\n<h3>\u90e8\u5206\u6587\u5b57\u5217\u306e\u62bd\u51fa<\/h3>\n<pre><code class=\"language-python\">email = \"user@example.com\"\nusername = email[:email.index(\"@\")]\ndomain = email[email.index(\"@\")+1:]\nprint(f\"\u30e6\u30fc\u30b6\u30fc\u540d: {username}\")  # user\nprint(f\"\u30c9\u30e1\u30a4\u30f3: {domain}\")      # example.com\n<\/code><\/pre>\n<h2>6. \u30bf\u30d7\u30eb\u3067\u306e\u30b9\u30e9\u30a4\u30b9<\/h2>\n<pre><code class=\"language-python\">coordinates = (10, 20, 30, 40, 50, 60)\nprint(coordinates[1:4])    # (20, 30, 40)\nprint(coordinates[::2])    # (10, 30, 50)\nprint(coordinates[::-1])   # (60, 50, 40, 30, 20, 10)\n<\/code><\/pre>\n<h2>7. \u30b9\u30e9\u30a4\u30b9\u3092\u4f7f\u3063\u305f\u4ee3\u5165\u64cd\u4f5c<\/h2>\n<h3>\u30ea\u30b9\u30c8\u8981\u7d20\u306e\u7f6e\u63db<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6]\nnumbers[1:4] = [20, 30, 40]\nprint(numbers)  # [1, 20, 30, 40, 5, 6]\n<\/code><\/pre>\n<h3>\u8981\u7d20\u306e\u633f\u5165<\/h3>\n<pre><code class=\"language-python\">data = [1, 2, 5, 6]\ndata[2:2] = [3, 4]  # \u30a4\u30f3\u30c7\u30c3\u30af\u30b92\u306e\u4f4d\u7f6e\u306b\u633f\u5165\nprint(data)  # [1, 2, 3, 4, 5, 6]\n<\/code><\/pre>\n<h3>\u8981\u7d20\u306e\u524a\u9664<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5, 6, 7, 8]\ndel numbers[2:5]  # \u30a4\u30f3\u30c7\u30c3\u30af\u30b92\u301c4\u3092\u524a\u9664\nprint(numbers)    # [1, 2, 6, 7, 8]\n<\/code><\/pre>\n<h2>8. 2\u6b21\u5143\u30ea\u30b9\u30c8\u3067\u306e\u30b9\u30e9\u30a4\u30b9<\/h2>\n<pre><code class=\"language-python\">matrix = [\n    [1, 2, 3, 4],\n    [5, 6, 7, 8],\n    [9, 10, 11, 12]\n]\n\nprint(matrix[1])       # [5, 6, 7, 8]\uff082\u884c\u76ee\uff09\nprint(matrix[0:2])     # [[1, 2, 3, 4], [5, 6, 7, 8]]\uff081\u301c2\u884c\u76ee\uff09\n\n# \u5217\u306e\u53d6\u5f97\uff08\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u7d44\u307f\u5408\u308f\u305b\uff09\ncolumn = [row[1] for row in matrix]\nprint(column)          # [2, 6, 10]\uff082\u5217\u76ee\uff09\n<\/code><\/pre>\n<h2>9. slice()\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6d3b\u7528<\/h2>\n<h3>slice()\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h3>\n<pre><code class=\"language-python\">data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n\n# slice()\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\ns = slice(2, 8, 2)\nprint(data[s])         # [2, 4, 6]\n\n# \u540d\u524d\u4ed8\u304d\u30b9\u30e9\u30a4\u30b9\nHEADER = slice(0, 5)\nBODY = slice(5, -2)\nFOOTER = slice(-2, None)\n\ncontent = list(range(20))\nprint(content[HEADER])  # [0, 1, 2, 3, 4]\nprint(content[BODY])    # [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]\nprint(content[FOOTER])  # [18, 19]\n<\/code><\/pre>\n<h2>10. \u30b9\u30e9\u30a4\u30b9\u306e\u30b3\u30d4\u30fc\u64cd\u4f5c<\/h2>\n<h3>\u6d45\u3044\u30b3\u30d4\u30fc\uff08shallow copy\uff09<\/h3>\n<pre><code class=\"language-python\">original = [1, 2, 3, 4, 5]\ncopy1 = original[:]        # \u30b9\u30e9\u30a4\u30b9\u306b\u3088\u308b\u30b3\u30d4\u30fc\ncopy2 = original.copy()    # copy()\u30e1\u30bd\u30c3\u30c9\ncopy3 = list(original)     # list()\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\n\nprint(copy1)  # [1, 2, 3, 4, 5]\nprint(id(original) == id(copy1))  # False\uff08\u7570\u306a\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\n<\/code><\/pre>\n<h2>11. \u6761\u4ef6\u4ed8\u304d\u30b9\u30e9\u30a4\u30b9<\/h2>\n<h3>\u52d5\u7684\u306a\u30b9\u30e9\u30a4\u30b9<\/h3>\n<pre><code class=\"language-python\">def get_slice(data, condition):\n    if condition == \"first_half\":\n        return data[:len(data)\/\/2]\n    elif condition == \"last_half\":\n        return data[len(data)\/\/2:]\n    elif condition == \"even_indices\":\n        return data[::2]\n    else:\n        return data\n\nnumbers = [1, 2, 3, 4, 5, 6, 7, 8]\nprint(get_slice(numbers, \"first_half\"))   # [1, 2, 3, 4]\nprint(get_slice(numbers, \"even_indices\")) # [1, 3, 5, 7]\n<\/code><\/pre>\n<h2>12. \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316<\/h2>\n<h3>\u5927\u304d\u306a\u30c7\u30fc\u30bf\u3067\u306e\u30e1\u30e2\u30ea\u52b9\u7387<\/h3>\n<pre><code class=\"language-python\"># \u30e1\u30e2\u30ea\u52b9\u7387\u7684\u306a\u51e6\u7406\ndef process_chunks(data, chunk_size=1000):\n    for i in range(0, len(data), chunk_size):\n        chunk = data[i:i+chunk_size]\n        yield chunk  # \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3067\u9010\u6b21\u51e6\u7406\n\n# \u4f7f\u7528\u4f8b\nlarge_data = list(range(10000))\nfor chunk in process_chunks(large_data):\n    # \u30c1\u30e3\u30f3\u30af\u3054\u3068\u306b\u51e6\u7406\n    pass\n<\/code><\/pre>\n<h2>13. \u30b9\u30e9\u30a4\u30b9\u3092\u4f7f\u3063\u305f\u9ad8\u5ea6\u306a\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n<h3>\u6587\u5b57\u5217\u306e\u56de\u6587\u5224\u5b9a<\/h3>\n<pre><code class=\"language-python\">def is_palindrome(text):\n    cleaned = text.lower().replace(\" \", \"\")\n    return cleaned == cleaned[::-1]\n\nprint(is_palindrome(\"A man a plan a canal Panama\"))  # True\n<\/code><\/pre>\n<h3>\u30ea\u30b9\u30c8\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3<\/h3>\n<pre><code class=\"language-python\">def rotate_list(lst, n):\n    \"\"\"\u30ea\u30b9\u30c8\u3092n\u500b\u5206\u53f3\u306b\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\"\"\"\n    if not lst:\n        return lst\n    n = n % len(lst)\n    return lst[-n:] + lst[:-n]\n\ndata = [1, 2, 3, 4, 5]\nprint(rotate_list(data, 2))  # [4, 5, 1, 2, 3]\n<\/code><\/pre>\n<h2>14. \u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/h2>\n<h3>\u5b89\u5168\u306a\u30b9\u30e9\u30a4\u30b9\u64cd\u4f5c<\/h3>\n<pre><code class=\"language-python\">def safe_slice(data, start=None, stop=None, step=None):\n    \"\"\"\u7bc4\u56f2\u5916\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b9\u30e9\u30a4\u30b9\"\"\"\n    if not data:\n        return []\n    \n    length = len(data)\n    start = 0 if start is None else max(0, min(start, length))\n    stop = length if stop is None else max(0, min(stop, length))\n    step = 1 if step is None else step\n    \n    return data[start:stop:step]\n\n# \u4f7f\u7528\u4f8b\ndata = [1, 2, 3]\nprint(safe_slice(data, 0, 10))     # [1, 2, 3]\uff08\u7bc4\u56f2\u5916\u3067\u3082\u30a8\u30e9\u30fc\u306a\u3057\uff09\nprint(safe_slice([], 0, 5))        # []\uff08\u7a7a\u30ea\u30b9\u30c8\u3067\u3082\u30a8\u30e9\u30fc\u306a\u3057\uff09\n<\/code><\/pre>\n<h2>15. NumPy\u3068\u306e\u6bd4\u8f03<\/h2>\n<pre><code class=\"language-python\"># Python\u30ea\u30b9\u30c8\npy_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\nprint(py_list[2:8:2])  # [3, 5, 7]\n\n# NumPy\u914d\u5217\uff08\u53c2\u8003\uff09\n# import numpy as np\n# np_array = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])\n# print(np_array[2:8:2])  # [3 5 7]\n<\/code><\/pre>\n<h2>16. \u5b9f\u7528\u7684\u306a\u5fdc\u7528\u4f8b<\/h2>\n<h3>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u89e3\u6790<\/h3>\n<pre><code class=\"language-python\">def parse_log_lines(lines):\n    \"\"\"\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u7279\u5b9a\u306e\u60c5\u5831\u3092\u62bd\u51fa\"\"\"\n    results = []\n    for line in lines:\n        if line.startswith(\"[ERROR]\"):\n            timestamp = line[8:27]   # \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u90e8\u5206\n            message = line[28:]      # \u30e1\u30c3\u30bb\u30fc\u30b8\u90e8\u5206\n            results.append((timestamp, message))\n    return results\n\nlog_lines = [\n    \"[ERROR] 2024-01-15 10:30:25 Database connection failed\",\n    \"[INFO]  2024-01-15 10:30:26 Retrying connection\",\n    \"[ERROR] 2024-01-15 10:30:30 Connection timeout\"\n]\n\nerrors = parse_log_lines(log_lines)\nprint(errors)\n<\/code><\/pre>\n<h3>\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">def clean_data(data):\n    \"\"\"\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\uff1a\u5916\u308c\u5024\u3092\u9664\u53bb\"\"\"\n    sorted_data = sorted(data)\n    n = len(sorted_data)\n    \n    # \u4e0a\u4e0b5%\u3092\u9664\u53bb\n    start_idx = n \/\/ 20\n    end_idx = n - (n \/\/ 20)\n    \n    return sorted_data[start_idx:end_idx]\n\nraw_data = [1, 2, 3, 100, 4, 5, 6, 7, 8, 200, 9, 10]\ncleaned = clean_data(raw_data)\nprint(cleaned)  # [2, 3, 4, 5, 6, 7, 8, 9]\n<\/code><\/pre>\n<h2>17. \u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<h3>\u53ef\u8aad\u6027\u3092\u91cd\u8996\u3057\u305f\u30b3\u30fc\u30c9<\/h3>\n<pre><code class=\"language-python\"># \u60aa\u3044\u4f8b\uff1a\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\ndata = \"2024-01-15,John,Engineer,50000\"\nname = data[11:15]\n\n# \u826f\u3044\u4f8b\uff1a\u610f\u5473\u306e\u3042\u308b\u5909\u6570\u540d\nDATE_END = 10\nNAME_START = 11\nNAME_END = data.index(\",\", NAME_START)\nname = data[NAME_START:NAME_END]\n\n# \u3055\u3089\u306b\u826f\u3044\u4f8b\uff1aslice()\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\nDATE_SLICE = slice(0, 10)\nNAME_SLICE = slice(11, data.index(\",\", 11))\ndate = data[DATE_SLICE]\nname = data[NAME_SLICE]\n<\/code><\/pre>\n<h2>18. \u30c7\u30d0\u30c3\u30b0\u3068\u30c6\u30b9\u30c8<\/h2>\n<pre><code class=\"language-python\">def debug_slice(sequence, slice_obj):\n    \"\"\"\u30b9\u30e9\u30a4\u30b9\u64cd\u4f5c\u306e\u30c7\u30d0\u30c3\u30b0\u652f\u63f4\"\"\"\n    start, stop, step = slice_obj.indices(len(sequence))\n    print(f\"Original: {sequence}\")\n    print(f\"Slice: [{start}:{stop}:{step}]\")\n    print(f\"Result: {sequence[slice_obj]}\")\n    return sequence[slice_obj]\n\n# \u4f7f\u7528\u4f8b\ndata = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\nresult = debug_slice(data, slice(2, -2, 2))\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u306e\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306f\u3001\u30b7\u30fc\u30b1\u30f3\u30b9\u578b\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u3001slice()\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u9ad8\u5ea6\u306a\u30c6\u30af\u30cb\u30c3\u30af\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u8003\u616e\u3057\u305f\u5b9f\u88c5\u307e\u3067\u3001\u69d8\u3005\u306a\u5834\u9762\u3067\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u3001\u5927\u304d\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u6271\u3046\u969b\u3084\u3001\u6587\u5b57\u5217\u51e6\u7406\u3001\u30ea\u30b9\u30c8\u64cd\u4f5c\u306b\u304a\u3044\u3066\u3001\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u3068\u52b9\u7387\u6027\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3082\u542b\u3081\u3066\u3001\u5b89\u5168\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u3092\u5fc3\u304c\u3051\u307e\u3057\u3087\u3046\u3002<\/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=\"bMQ8R7Z8nb\"><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=MP6cls6B4n#?secret=bMQ8R7Z8nb\" data-secret=\"bMQ8R7Z8nb\" 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=\"Hu4hoBm9TZ\"><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=oSG5wzF3s8#?secret=Hu4hoBm9TZ\" data-secret=\"Hu4hoBm9TZ\" 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=\"Wmovli4ru0\"><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=0WQV6mzUuD#?secret=Wmovli4ru0\" data-secret=\"Wmovli4ru0\" 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=\"aap5Vke5bc\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\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;\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\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=DkPKVIup1s#?secret=aap5Vke5bc\" data-secret=\"aap5Vke5bc\" 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=\"WQyHC6831y\"><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=bCBDo1dDnF#?secret=WQyHC6831y\" data-secret=\"WQyHC6831y\" 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=\"gAElrz4Ji7\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\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;\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\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\/tokyo_python\/embed\/#?secret=SDTKwJMxRn#?secret=gAElrz4Ji7\" data-secret=\"gAElrz4Ji7\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Python\u306e\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u306f\u3001\u30ea\u30b9\u30c8\u3001\u6587\u5b57\u5217\u3001\u30bf\u30d7\u30eb\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u578b\u30c7\u30fc\u30bf\u304b\u3089\u90e8\u5206\u7684\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u9ad8\u5ea6\u306a\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u30b9\u30e9\u30a4\u30b9\u8a18\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u7387\u7684\u3067\u8aad\u307f\u3084 [&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-43856","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":59,"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\/43856","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=43856"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43856\/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=43856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=43856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=43856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}