{"id":43923,"date":"2025-08-06T14:16:43","date_gmt":"2025-08-06T05:16:43","guid":{"rendered":"https:\/\/techgym.jp\/?p=43923"},"modified":"2025-08-06T14:16:45","modified_gmt":"2025-08-06T05:16:45","slug":"python-dic_key","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-dic_key\/","title":{"rendered":"Python\u8f9e\u66f8\u306e\u30ad\u30fc\u30fb\u5024\u306e\u5b58\u5728\u78ba\u8a8d\u3068\u53d6\u5f97\u65b9\u6cd5\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u52b9\u7387\u7684\u306a\u691c\u7d22\u30c6\u30af\u30cb\u30c3\u30af"},"content":{"rendered":"\n<p>\u00a0<\/p>\n<p>Python\u8f9e\u66f8\u3092\u6271\u3046\u969b\u3001\u300c\u30ad\u30fc\u304c\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\u3057\u305f\u3044\u300d\u300c\u5b89\u5168\u306b\u5024\u3092\u53d6\u5f97\u3057\u305f\u3044\u300d\u300c\u7279\u5b9a\u306e\u5024\u3092\u6301\u3064\u30ad\u30fc\u3092\u898b\u3064\u3051\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u64cd\u4f5c\u306f\u975e\u5e38\u306b\u3088\u304f\u884c\u308f\u308c\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u8f9e\u66f8\u306e\u30ad\u30fc\u30fb\u5024\u306e\u5b58\u5728\u78ba\u8a8d\u304b\u3089\u53d6\u5f97\u307e\u3067\u3001\u69d8\u3005\u306a\u65b9\u6cd5\u3092\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ad\u30fc\u306e\u5b58\u5728\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<h3>in\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\uff08\u63a8\u5968\uff09<\/h3>\n<p>\u6700\u3082\u4e00\u822c\u7684\u3067\u52b9\u7387\u7684\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25, 'city': '\u6771\u4eac'}\n\n# \u30ad\u30fc\u306e\u5b58\u5728\u78ba\u8a8d\nif 'name' in user_data:\n    print(\"name\u30ad\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\")\n\nif 'email' not in user_data:\n    print(\"email\u30ad\u30fc\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\")\n<\/code><\/pre>\n<h3>keys()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/h3>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25}\n\n# keys()\u3092\u4f7f\u7528\uff08\u63a8\u5968\u3055\u308c\u306a\u3044\uff09\nif 'name' in user_data.keys():\n    print(\"name\u30ad\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\")\n\n# in\u6f14\u7b97\u5b50\u306e\u65b9\u304c\u52b9\u7387\u7684\nif 'name' in user_data:\n    print(\"\u3053\u3061\u3089\u306e\u65b9\u304c\u9ad8\u901f\")\n<\/code><\/pre>\n<h3>has_key()\u30e1\u30bd\u30c3\u30c9\uff08Python2\u306e\u307f\uff09<\/h3>\n<p>Python3\u3067\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<h2>\u5b89\u5168\u306a\u5024\u306e\u53d6\u5f97\u65b9\u6cd5<\/h2>\n<h3>get()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528<\/h3>\n<p>KeyError\u3092\u56de\u907f\u3057\u3066\u5b89\u5168\u306b\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25}\n\n# \u5b58\u5728\u3059\u308b\u30ad\u30fc\u306e\u53d6\u5f97\nname = user_data.get('name')\nprint(name)  # '\u592a\u90ce'\n\n# \u5b58\u5728\u3057\u306a\u3044\u30ad\u30fc\u306e\u53d6\u5f97\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306a\u3057\uff09\nemail = user_data.get('email')\nprint(email)  # None\n\n# \u5b58\u5728\u3057\u306a\u3044\u30ad\u30fc\u306e\u53d6\u5f97\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3042\u308a\uff09\ncountry = user_data.get('country', '\u65e5\u672c')\nprint(country)  # '\u65e5\u672c'\n<\/code><\/pre>\n<h3>try-except\u6587\u3092\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25}\n\ntry:\n    email = user_data['email']\n    print(email)\nexcept KeyError:\n    print(\"email\u30ad\u30fc\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\")\n<\/code><\/pre>\n<h3>setdefault()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528<\/h3>\n<p>\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce'}\n\n# \u30ad\u30fc\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\nage = user_data.setdefault('age', 0)\nprint(age)  # 0\nprint(user_data)  # {'name': '\u592a\u90ce', 'age': 0}\n<\/code><\/pre>\n<h2>\u5024\u306e\u5b58\u5728\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<h3>values()\u3092\u4f7f\u7528\u3057\u305f\u78ba\u8a8d<\/h3>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25, 'city': '\u6771\u4eac'}\n\n# \u7279\u5b9a\u306e\u5024\u304c\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\nif '\u592a\u90ce' in user_data.values():\n    print(\"'\u592a\u90ce'\u3068\u3044\u3046\u5024\u304c\u5b58\u5728\u3057\u307e\u3059\")\n\nif 30 not in user_data.values():\n    print(\"30\u3068\u3044\u3046\u5024\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\")\n<\/code><\/pre>\n<h3>\u5024\u304b\u3089\u30ad\u30fc\u3092\u9006\u5f15\u304d\u691c\u7d22<\/h3>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25, 'city': '\u6771\u4eac'}\n\n# \u5024\u304b\u3089\u30ad\u30fc\u3092\u691c\u7d22\uff08\u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305f\u3082\u306e\uff09\ndef find_key_by_value(dictionary, target_value):\n    for key, value in dictionary.items():\n        if value == target_value:\n            return key\n    return None\n\nkey = find_key_by_value(user_data, '\u592a\u90ce')\nprint(key)  # 'name'\n<\/code><\/pre>\n<h3>\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3092\u4f7f\u7528\u3057\u305f\u8907\u6570\u30ad\u30fc\u691c\u7d22<\/h3>\n<pre><code class=\"language-python\">user_data = {'name': '\u592a\u90ce', 'age': 25, 'city': '\u6771\u4eac', 'country': '\u65e5\u672c'}\n\n# \u7279\u5b9a\u306e\u5024\u3092\u6301\u3064\u5168\u3066\u306e\u30ad\u30fc\u3092\u53d6\u5f97\nkeys = [key for key, value in user_data.items() if value == '\u592a\u90ce']\nprint(keys)  # ['name']\n\n# \u6570\u5024\u306e\u5024\u3092\u6301\u3064\u30ad\u30fc\u3092\u53d6\u5f97\nnumeric_keys = [key for key, value in user_data.items() if isinstance(value, int)]\nprint(numeric_keys)  # ['age']\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b<\/h2>\n<h3>\u8907\u6570\u6761\u4ef6\u3067\u306e\u691c\u7d22<\/h3>\n<pre><code class=\"language-python\">products = {\n    'apple': {'price': 100, 'category': 'fruit'},\n    'banana': {'price': 80, 'category': 'fruit'},\n    'carrot': {'price': 60, 'category': 'vegetable'}\n}\n\n# \u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u5546\u54c1\u3092\u691c\u7d22\ndef find_products_by_condition(products, condition):\n    result = []\n    for name, info in products.items():\n        if condition(info):\n            result.append(name)\n    return result\n\n# \u4fa1\u683c\u304c80\u4ee5\u4e0b\u306e\u5546\u54c1\ncheap_products = find_products_by_condition(\n    products, \n    lambda x: x['price'] &lt;= 80\n)\nprint(cheap_products)  # ['banana', 'carrot']\n<\/code><\/pre>\n<h3>\u30cd\u30b9\u30c8\u3057\u305f\u8f9e\u66f8\u3067\u306e\u5b89\u5168\u306a\u5024\u53d6\u5f97<\/h3>\n<pre><code class=\"language-python\">data = {\n    'user': {\n        'profile': {\n            'name': '\u592a\u90ce',\n            'age': 25\n        }\n    }\n}\n\n# \u30cd\u30b9\u30c8\u3057\u305f\u30ad\u30fc\u306e\u5b89\u5168\u306a\u53d6\u5f97\ndef get_nested_value(dictionary, keys, default=None):\n    for key in keys:\n        if isinstance(dictionary, dict) and key in dictionary:\n            dictionary = dictionary[key]\n        else:\n            return default\n    return dictionary\n\n# \u5b58\u5728\u3059\u308b\u30d1\u30b9\nname = get_nested_value(data, ['user', 'profile', 'name'])\nprint(name)  # '\u592a\u90ce'\n\n# \u5b58\u5728\u3057\u306a\u3044\u30d1\u30b9\nemail = get_nested_value(data, ['user', 'profile', 'email'], '\u306a\u3057')\nprint(email)  # '\u306a\u3057'\n<\/code><\/pre>\n<h3>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u91cd\u8996\u3057\u305f\u691c\u7d22<\/h3>\n<pre><code class=\"language-python\"># \u5927\u304d\u306a\u8f9e\u66f8\u3067\u306e\u9ad8\u901f\u691c\u7d22\nlarge_dict = {f'key_{i}': i for i in range(100000)}\n\n# \u52b9\u7387\u7684\u306a\u5b58\u5728\u78ba\u8a8d\ndef check_multiple_keys(dictionary, keys):\n    existing = []\n    missing = []\n    \n    for key in keys:\n        if key in dictionary:  # O(1)\u306e\u6642\u9593\u8a08\u7b97\u91cf\n            existing.append(key)\n        else:\n            missing.append(key)\n    \n    return existing, missing\n\ntest_keys = ['key_1000', 'key_2000', 'nonexistent']\nexisting, missing = check_multiple_keys(large_dict, test_keys)\nprint(f\"\u5b58\u5728: {existing}, \u4e0d\u5728: {missing}\")\n<\/code><\/pre>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6bd4\u8f03<\/h2>\n<h3>\u7570\u306a\u308b\u65b9\u6cd5\u306e\u5b9f\u884c\u901f\u5ea6<\/h3>\n<pre><code class=\"language-python\">import timeit\n\ndata = {'key1': 'value1', 'key2': 'value2'}\n\n# in\u6f14\u7b97\u5b50\ntime1 = timeit.timeit(lambda: 'key1' in data, number=1000000)\n\n# keys()\u30e1\u30bd\u30c3\u30c9\ntime2 = timeit.timeit(lambda: 'key1' in data.keys(), number=1000000)\n\n# get()\u30e1\u30bd\u30c3\u30c9\ntime3 = timeit.timeit(lambda: data.get('key1') is not None, number=1000000)\n\nprint(f\"in\u6f14\u7b97\u5b50: {time1:.4f}\u79d2\")\nprint(f\"keys(): {time2:.4f}\u79d2\")  \nprint(f\"get(): {time3:.4f}\u79d2\")\n<\/code><\/pre>\n<h2>\u30a8\u30e9\u30fc\u51e6\u7406\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<h3>\u63a8\u5968\u3055\u308c\u308b\u65b9\u6cd5<\/h3>\n<pre><code class=\"language-python\">def safe_dict_access(dictionary, key, default=None):\n    \"\"\"\u5b89\u5168\u306a\u8f9e\u66f8\u30a2\u30af\u30bb\u30b9\"\"\"\n    if not isinstance(dictionary, dict):\n        return default\n    \n    return dictionary.get(key, default)\n\n# \u4f7f\u7528\u4f8b\nuser_data = {'name': '\u592a\u90ce', 'age': 25}\nname = safe_dict_access(user_data, 'name', '\u4e0d\u660e')\nemail = safe_dict_access(user_data, 'email', '\u672a\u8a2d\u5b9a')\n\nprint(f\"\u540d\u524d: {name}, \u30e1\u30fc\u30eb: {email}\")\n<\/code><\/pre>\n<h3>\u8907\u6570\u30ad\u30fc\u306e\u4e00\u62ec\u30c1\u30a7\u30c3\u30af<\/h3>\n<pre><code class=\"language-python\">def validate_required_keys(dictionary, required_keys):\n    \"\"\"\u5fc5\u9808\u30ad\u30fc\u306e\u5b58\u5728\u78ba\u8a8d\"\"\"\n    missing_keys = [key for key in required_keys if key not in dictionary]\n    \n    if missing_keys:\n        return False, f\"\u4e0d\u8db3\u30ad\u30fc: {missing_keys}\"\n    return True, \"\u5168\u3066\u306e\u30ad\u30fc\u304c\u5b58\u5728\u3057\u307e\u3059\"\n\n# \u4f7f\u7528\u4f8b\nuser_data = {'name': '\u592a\u90ce', 'age': 25}\nrequired = ['name', 'age', 'email']\n\nis_valid, message = validate_required_keys(user_data, required)\nprint(message)  # \"\u4e0d\u8db3\u30ad\u30fc: ['email']\"\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u8f9e\u66f8\u3067\u306e\u30ad\u30fc\u30fb\u5024\u306e\u5b58\u5728\u78ba\u8a8d\u3068\u53d6\u5f97\u306b\u306f\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p><strong>\u30ad\u30fc\u306e\u5b58\u5728\u78ba\u8a8d<\/strong>\u3067\u306f<code>in<\/code>\u6f14\u7b97\u5b50\u304c\u6700\u3082\u52b9\u7387\u7684\u3067\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<strong>\u5b89\u5168\u306a\u5024\u53d6\u5f97<\/strong>\u306b\u306f<code>get()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3001<strong>\u5024\u306e\u691c\u7d22<\/strong>\u306b\u306f\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3084<code>values()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u7279\u306b\u4ee5\u4e0b\u306e\u70b9\u3092\u610f\u8b58\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u826f\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u307e\u3059\uff1a<\/p>\n<ul>\n<li>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u91cd\u8996\u3059\u308b\u5834\u5408\u306f<code>in<\/code>\u6f14\u7b97\u5b50\u3092\u4f7f\u7528<\/li>\n<li>\u5b89\u5168\u6027\u3092\u91cd\u8996\u3059\u308b\u5834\u5408\u306f<code>get()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528<\/li>\n<li>\u8907\u96d1\u306a\u691c\u7d22\u6761\u4ef6\u304c\u3042\u308b\u5834\u5408\u306f\u95a2\u6570\u5316\u3092\u691c\u8a0e<\/li>\n<li>\u30a8\u30e9\u30fc\u51e6\u7406\u3092\u9069\u5207\u306b\u884c\u3044\u3001\u5805\u7262\u306a\u30b3\u30fc\u30c9\u3092\u4f5c\u6210<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u6280\u8853\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u7684\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u8f9e\u66f8\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\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=\"ysCWUhgurl\"><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=W5yezwNa35#?secret=ysCWUhgurl\" data-secret=\"ysCWUhgurl\" 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=\"oHEnKgos0Q\"><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=NbMy20Zbuf#?secret=oHEnKgos0Q\" data-secret=\"oHEnKgos0Q\" 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=\"GIPio9JkeB\"><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=ngrSsAiTCP#?secret=GIPio9JkeB\" data-secret=\"GIPio9JkeB\" 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=\"oNrdkaOzmm\"><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=YzyyT9iVFj#?secret=oNrdkaOzmm\" data-secret=\"oNrdkaOzmm\" 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=\"sxTBPRUtga\"><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=IaD39Q7FR6#?secret=sxTBPRUtga\" data-secret=\"sxTBPRUtga\" 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=\"bH8VqTTVk3\"><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=p5Fel7xZ1t#?secret=bH8VqTTVk3\" data-secret=\"bH8VqTTVk3\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Python\u8f9e\u66f8\u3092\u6271\u3046\u969b\u3001\u300c\u30ad\u30fc\u304c\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\u3057\u305f\u3044\u300d\u300c\u5b89\u5168\u306b\u5024\u3092\u53d6\u5f97\u3057\u305f\u3044\u300d\u300c\u7279\u5b9a\u306e\u5024\u3092\u6301\u3064\u30ad\u30fc\u3092\u898b\u3064\u3051\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u64cd\u4f5c\u306f\u975e\u5e38\u306b\u3088\u304f\u884c\u308f\u308c\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u8f9e\u66f8\u306e\u30ad\u30fc\u30fb\u5024\u306e\u5b58\u5728\u78ba\u8a8d\u304b\u3089\u53d6\u5f97\u307e\u3067\u3001\u69d8\u3005\u306a\u65b9\u6cd5\u3092\u5b9f\u8df5 [&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-43923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":52,"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\/43923","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=43923"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43923\/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=43923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=43923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=43923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}