{"id":42988,"date":"2025-07-29T11:20:34","date_gmt":"2025-07-29T02:20:34","guid":{"rendered":"https:\/\/techgym.jp\/?p=42988"},"modified":"2025-10-19T23:32:59","modified_gmt":"2025-10-19T14:32:59","slug":"python-global","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-global\/","title":{"rendered":"Python global\u5ba3\u8a00\u306e\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u4f7f\u3044\u65b9\u3092\u5fb9\u5e95\u89e3\u8aac"},"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>global<\/code>\u5ba3\u8a00\u306f\u3001\u95a2\u6570\u5185\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u5909\u66f4\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3059\u3002\u5909\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u7406\u89e3\u3057\u3001\u9069\u5207\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u306f\u3001\u52b9\u7387\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u8a2d\u8a08\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u77e5\u8b58\u3067\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u521d\u5fc3\u8005\u304b\u3089\u4e2d\u7d1a\u8005\u307e\u3067\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001global\u5ba3\u8a00\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n<h2>global\u5ba3\u8a00\u3068\u306f<\/h2>\n<p><code>global<\/code>\u5ba3\u8a00\u306f\u3001\u95a2\u6570\u5185\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u306e\u5909\u6570\u3092\u5909\u66f4\u53ef\u80fd\u306b\u3059\u308bPython\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3059\u3002\u901a\u5e38\u3001\u95a2\u6570\u5185\u3067\u5909\u6570\u306b\u4ee3\u5165\u3092\u884c\u3046\u3068\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u304c\u3001global\u5ba3\u8a00\u306b\u3088\u308a\u65e2\u5b58\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u69cb\u6587<\/h3>\n<pre><code class=\"language-python\">global \u5909\u6570\u540d\n\u5909\u6570\u540d = \u65b0\u3057\u3044\u5024\n<\/code><\/pre>\n<h2>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>global\u5ba3\u8a00\u306a\u3057\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\">count = 0  # \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\n\ndef increment():\n    count = count + 1  # \u30a8\u30e9\u30fc\uff1a\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3078\u306e\u53c2\u7167\u524d\u306b\u4ee3\u5165\n    return count\n<\/code><\/pre>\n<h3>global\u5ba3\u8a00\u3042\u308a\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\">count = 0  # \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\n\ndef increment():\n    global count\n    count = count + 1\n    return count\n\nprint(increment())  # 1\n<\/code><\/pre>\n<h3>\u8907\u6570\u5909\u6570\u306eglobal\u5ba3\u8a00<\/h3>\n<pre><code class=\"language-python\">x = 10\ny = 20\n\ndef modify_globals():\n    global x, y\n    x = 100\n    y = 200\n\nmodify_globals()\nprint(x, y)  # 100 200\n<\/code><\/pre>\n<h2>\u5909\u6570\u30b9\u30b3\u30fc\u30d7\u306e\u7406\u89e3<\/h2>\n<h3>\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7<\/h3>\n<pre><code class=\"language-python\">def local_example():\n    local_var = \"\u30ed\u30fc\u30ab\u30eb\u5909\u6570\"\n    print(local_var)\n\nlocal_example()\n# print(local_var)  # \u30a8\u30e9\u30fc\uff1a\u30b9\u30b3\u30fc\u30d7\u5916\n<\/code><\/pre>\n<h3>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7<\/h3>\n<pre><code class=\"language-python\">global_var = \"\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\"\n\ndef access_global():\n    print(global_var)  # \u8aad\u307f\u53d6\u308a\u306f\u53ef\u80fd\n\naccess_global()  # \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\n<\/code><\/pre>\n<h3>global\u5ba3\u8a00\u3067\u306e\u5909\u66f4<\/h3>\n<pre><code class=\"language-python\">message = \"\u521d\u671f\u5024\"\n\ndef change_message():\n    global message\n    message = \"\u5909\u66f4\u5f8c\u306e\u5024\"\n\nchange_message()\nprint(message)  # \u5909\u66f4\u5f8c\u306e\u5024\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u4f7f\u7528\u4f8b<\/h2>\n<h3>\u30ab\u30a6\u30f3\u30bf\u30fc\u6a5f\u80fd<\/h3>\n<pre><code class=\"language-python\">counter = 0\n\ndef increment_counter():\n    global counter\n    counter += 1\n    return counter\n\ndef reset_counter():\n    global counter\n    counter = 0\n\nprint(increment_counter())  # 1\nprint(increment_counter())  # 2\nreset_counter()\nprint(counter)  # 0\n<\/code><\/pre>\n<h3>\u8a2d\u5b9a\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">debug_mode = False\n\ndef enable_debug():\n    global debug_mode\n    debug_mode = True\n\ndef disable_debug():\n    global debug_mode\n    debug_mode = False\n\nenable_debug()\nprint(f\"\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9: {debug_mode}\")  # True\n<\/code><\/pre>\n<h3>\u30b2\u30fc\u30e0\u30b9\u30b3\u30a2\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">score = 0\nhigh_score = 0\n\ndef add_points(points):\n    global score, high_score\n    score += points\n    if score &gt; high_score:\n        high_score = score\n\nadd_points(100)\nprint(f\"\u73fe\u5728\u30b9\u30b3\u30a2: {score}, \u6700\u9ad8\u30b9\u30b3\u30a2: {high_score}\")  # 100, 100\n<\/code><\/pre>\n<h2>\u3088\u304f\u3042\u308b\u9593\u9055\u3044\u3068\u5bfe\u51e6\u6cd5<\/h2>\n<h3>UnboundLocalError \u306e\u56de\u907f<\/h3>\n<pre><code class=\"language-python\"># \u9593\u9055\u3063\u305f\u4f8b\ntotal = 0\ndef wrong_function():\n    print(total)  # \u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\n    total = 10\n\n# \u6b63\u3057\u3044\u4f8b\ntotal = 0\ndef correct_function():\n    global total\n    print(total)\n    total = 10\n<\/code><\/pre>\n<h3>\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\">config_value = \"\u8a2d\u5b9a\u5024\"\n\ndef read_config():\n    # \u8aad\u307f\u53d6\u308a\u306e\u307f\u306a\u3089global\u4e0d\u8981\n    return config_value\n\ndef modify_config(new_value):\n    # \u5909\u66f4\u3059\u308b\u5834\u5408\u306fglobal\u5fc5\u8981\n    global config_value\n    config_value = new_value\n<\/code><\/pre>\n<h2>\u30c7\u30fc\u30bf\u7ba1\u7406\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u72b6\u614b\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">app_state = {\"logged_in\": False, \"user\": None}\n\ndef login(username):\n    global app_state\n    app_state[\"logged_in\"] = True\n    app_state[\"user\"] = username\n\ndef logout():\n    global app_state\n    app_state = {\"logged_in\": False, \"user\": None}\n\nlogin(\"alice\")\nprint(app_state)  # {'logged_in': True, 'user': 'alice'}\n<\/code><\/pre>\n<h3>\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd<\/h3>\n<pre><code class=\"language-python\">cache = {}\n\ndef get_cached_data(key):\n    return cache.get(key)\n\ndef set_cache(key, value):\n    global cache\n    cache[key] = value\n\nset_cache(\"user_1\", {\"name\": \"Alice\", \"age\": 25})\nuser_data = get_cached_data(\"user_1\")\n<\/code><\/pre>\n<h3>\u7d71\u8a08\u30c7\u30fc\u30bf\u306e\u53ce\u96c6<\/h3>\n<pre><code class=\"language-python\">request_count = 0\nerror_count = 0\n\ndef log_request():\n    global request_count\n    request_count += 1\n\ndef log_error():\n    global error_count\n    error_count += 1\n\ndef get_stats():\n    return {\"requests\": request_count, \"errors\": error_count}\n<\/code><\/pre>\n<h2>Web\u958b\u767a\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30d5\u30e9\u30b9\u30b3\u30a2\u30d7\u30ea\u306e\u8a2d\u5b9a<\/h3>\n<pre><code class=\"language-python\">app_config = {\"debug\": False, \"port\": 5000}\n\ndef configure_app(debug=None, port=None):\n    global app_config\n    if debug is not None:\n        app_config[\"debug\"] = debug\n    if port is not None:\n        app_config[\"port\"] = port\n\nconfigure_app(debug=True, port=8000)\nprint(app_config)  # {'debug': True, 'port': 8000}\n<\/code><\/pre>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">active_sessions = {}\n\ndef create_session(session_id, user_data):\n    global active_sessions\n    active_sessions[session_id] = user_data\n\ndef destroy_session(session_id):\n    global active_sessions\n    if session_id in active_sessions:\n        del active_sessions[session_id]\n<\/code><\/pre>\n<h2>\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406<\/h3>\n<pre><code class=\"language-python\">log_file = None\n\ndef open_log_file(filename):\n    global log_file\n    log_file = open(filename, 'a')\n\ndef write_log(message):\n    global log_file\n    if log_file:\n        log_file.write(f\"{message}\\n\")\n\ndef close_log_file():\n    global log_file\n    if log_file:\n        log_file.close()\n        log_file = None\n<\/code><\/pre>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u8003\u616e<\/h2>\n<h3>\u8a08\u7b97\u7d50\u679c\u306e\u30ad\u30e3\u30c3\u30b7\u30e5<\/h3>\n<pre><code class=\"language-python\">fibonacci_cache = {}\n\ndef fibonacci(n):\n    global fibonacci_cache\n    if n in fibonacci_cache:\n        return fibonacci_cache[n]\n    \n    if n &lt;= 1:\n        result = n\n    else:\n        result = fibonacci(n-1) + fibonacci(n-2)\n    \n    fibonacci_cache[n] = result\n    return result\n<\/code><\/pre>\n<h3>\u8a2d\u5b9a\u306e\u4e00\u56de\u8aad\u307f\u8fbc\u307f<\/h3>\n<pre><code class=\"language-python\">config_loaded = False\nconfig_data = {}\n\ndef load_config():\n    global config_loaded, config_data\n    if not config_loaded:\n        # \u5b9f\u969b\u306b\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u307f\n        config_data = {\"timeout\": 30, \"retries\": 3}\n        config_loaded = True\n    return config_data\n<\/code><\/pre>\n<h2>\u4ee3\u66ff\u624b\u6bb5\u3068\u306e\u6bd4\u8f03<\/h2>\n<h3>\u30af\u30e9\u30b9\u5909\u6570\u3092\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\">class Counter:\n    count = 0\n    \n    @classmethod\n    def increment(cls):\n        cls.count += 1\n        return cls.count\n\n# \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3088\u308a\u7ba1\u7406\u3057\u3084\u3059\u3044\nCounter.increment()  # 1\n<\/code><\/pre>\n<h3>\u95a2\u6570\u5c5e\u6027\u3092\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\">def counter():\n    counter.count += 1\n    return counter.count\n\ncounter.count = 0  # \u95a2\u6570\u306b\u5c5e\u6027\u3092\u8ffd\u52a0\nprint(counter())  # 1\n<\/code><\/pre>\n<h3>nonlocal\u30ad\u30fc\u30ef\u30fc\u30c9<\/h3>\n<pre><code class=\"language-python\">def outer_function():\n    x = 10\n    \n    def inner_function():\n        nonlocal x  # \u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u5074\u306e\u5909\u6570\u3092\u5909\u66f4\n        x = 20\n    \n    inner_function()\n    return x\n\nresult = outer_function()  # 20\n<\/code><\/pre>\n<h2>\u30c7\u30d0\u30c3\u30b0\u3068\u30c6\u30b9\u30c8<\/h2>\n<h3>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u72b6\u614b\u78ba\u8a8d<\/h3>\n<pre><code class=\"language-python\">def debug_globals():\n    global_vars = {k: v for k, v in globals().items() \n                   if not k.startswith('_')}\n    return global_vars\n\n# \u73fe\u5728\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u78ba\u8a8d\ncurrent_globals = debug_globals()\n<\/code><\/pre>\n<h3>\u30c6\u30b9\u30c8\u7528\u306e\u30ea\u30bb\u30c3\u30c8\u95a2\u6570<\/h3>\n<pre><code class=\"language-python\">original_state = None\n\ndef save_global_state():\n    global original_state\n    original_state = {\"count\": count, \"score\": score}\n\ndef restore_global_state():\n    global count, score, original_state\n    if original_state:\n        count = original_state[\"count\"]\n        score = original_state[\"score\"]\n<\/code><\/pre>\n<h2>\u826f\u3044\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<h3>\u6700\u5c0f\u9650\u306e\u4f7f\u7528<\/h3>\n<pre><code class=\"language-python\"># \u63a8\u5968\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u6700\u5c0f\u9650\u306b\napp_settings = {\"theme\": \"dark\"}\n\ndef update_theme(new_theme):\n    global app_settings\n    app_settings[\"theme\"] = new_theme\n\n# \u975e\u63a8\u5968\uff1a\u591a\u6570\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\n# global user, session, config, cache, etc.\n<\/code><\/pre>\n<h3>\u547d\u540d\u898f\u5247<\/h3>\n<pre><code class=\"language-python\"># \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306f\u5927\u6587\u5b57\u3067\u533a\u5225\nCONFIG = {\"debug\": False}\nSESSION_DATA = {}\n\ndef update_config(key, value):\n    global CONFIG\n    CONFIG[key] = value\n<\/code><\/pre>\n<h3>\u521d\u671f\u5316\u306e\u660e\u78ba\u5316<\/h3>\n<pre><code class=\"language-python\"># \u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u521d\u671f\u5316\u3092\u660e\u78ba\u306b\nINITIALIZED = False\nDATA_STORE = {}\n\ndef initialize():\n    global INITIALIZED, DATA_STORE\n    if not INITIALIZED:\n        DATA_STORE = {\"items\": [], \"count\": 0}\n        INITIALIZED = True\n<\/code><\/pre>\n<h2>\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306e\u6d3b\u7528<\/h2>\n<h3>CLI \u30c4\u30fc\u30eb\u306e\u8a2d\u5b9a<\/h3>\n<pre><code class=\"language-python\">verbose_mode = False\n\ndef set_verbose(enabled):\n    global verbose_mode\n    verbose_mode = enabled\n\ndef log_message(message):\n    if verbose_mode:\n        print(f\"[LOG] {message}\")\n\nset_verbose(True)\nlog_message(\"\u51e6\u7406\u3092\u958b\u59cb\u3057\u307e\u3059\")  # [LOG] \u51e6\u7406\u3092\u958b\u59cb\u3057\u307e\u3059\n<\/code><\/pre>\n<h3>\u30b2\u30fc\u30e0\u958b\u767a<\/h3>\n<pre><code class=\"language-python\">game_state = \"menu\"\nplayer_lives = 3\n\ndef start_game():\n    global game_state, player_lives\n    game_state = \"playing\"\n    player_lives = 3\n\ndef lose_life():\n    global player_lives, game_state\n    player_lives -= 1\n    if player_lives &lt;= 0:\n        game_state = \"game_over\"\n<\/code><\/pre>\n<h3>API \u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/h3>\n<pre><code class=\"language-python\">api_token = None\nbase_url = \"https:\/\/api.example.com\"\n\ndef authenticate(token):\n    global api_token\n    api_token = token\n\ndef make_request(endpoint):\n    if api_token:\n        return f\"GET {base_url}\/{endpoint} with token\"\n    return \"\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3059\"\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python \u306e global \u5ba3\u8a00\u306f\u3001\u95a2\u6570\u5185\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u3067\u3059\u3002\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u72b6\u614b\u7ba1\u7406\u3084\u8a2d\u5b9a\u7ba1\u7406\u3092\u52b9\u7387\u7684\u306b\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\uff1a<\/p>\n<ul>\n<li>\u95a2\u6570\u5185\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306e\u307f\u5fc5\u8981<\/li>\n<li>\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306e\u5834\u5408\u306f\u4e0d\u8981<\/li>\n<li>\u6700\u5c0f\u9650\u306e\u4f7f\u7528\u3092\u5fc3\u304c\u3051\u308b<\/li>\n<li>\u30af\u30e9\u30b9\u3084\u95a2\u6570\u5c5e\u6027\u306a\u3069\u4ee3\u66ff\u624b\u6bb5\u3082\u691c\u8a0e<\/li>\n<\/ul>\n<p>\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u69d8\u3005\u306a\u4f7f\u7528\u4f8b\u3092\u53c2\u8003\u306b\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067 global \u5ba3\u8a00\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9069\u5207\u306a\u5909\u6570\u30b9\u30b3\u30fc\u30d7\u306e\u7ba1\u7406\u306b\u3088\u308a\u3001\u3088\u308a\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/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=\"ckSoHXrOmS\"><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=691uWIbbTy#?secret=ckSoHXrOmS\" data-secret=\"ckSoHXrOmS\" 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=\"6QzZSml8u8\"><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=3IS076eBTx#?secret=6QzZSml8u8\" data-secret=\"6QzZSml8u8\" 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=\"ivONrE3F05\"><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=18PLwRyXx7#?secret=ivONrE3F05\" data-secret=\"ivONrE3F05\" 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=\"Ew453myvFt\"><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=Je2ZAEXSrH#?secret=Ew453myvFt\" data-secret=\"Ew453myvFt\" 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=\"TrlftXwNYg\"><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=Nc7cmfyk4Z#?secret=TrlftXwNYg\" data-secret=\"TrlftXwNYg\" 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=\"kumCkFAZd1\"><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=06z1Ywdo0X#?secret=kumCkFAZd1\" data-secret=\"kumCkFAZd1\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306eglobal\u5ba3\u8a00\u306f\u3001\u95a2\u6570\u5185\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u5909\u66f4\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3059\u3002\u5909\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u7406\u89e3\u3057\u3001\u9069\u5207\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u306f\u3001\u52b9\u7387\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u8a2d\u8a08\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u77e5\u8b58\u3067\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001Py [&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-42988","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":75,"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\/42988","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=42988"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42988\/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=42988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=42988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=42988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}