{"id":42937,"date":"2025-07-29T09:03:27","date_gmt":"2025-07-29T00:03:27","guid":{"rendered":"https:\/\/techgym.jp\/?p=42937"},"modified":"2025-10-13T22:57:53","modified_gmt":"2025-10-13T13:57:53","slug":"class-instance-2","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/class-instance-2\/","title":{"rendered":"\u3010Python\u5165\u9580\u3011\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u89e3\u8aac\uff01\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u790e"},"content":{"rendered":"\n\n<p>Python\u306b\u304a\u3051\u308b\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u6838\u3068\u306a\u308b\u91cd\u8981\u306a\u6982\u5ff5\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\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\u30af\u30e9\u30b9\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u7387\u7684\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u306f\uff1f<\/h2>\n<h3>\u30af\u30e9\u30b9\uff08Class\uff09<\/h3>\n<p>\u30af\u30e9\u30b9\u3068\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u300c\u8a2d\u8a08\u56f3\u300d\u3084\u300c\u578b\u300d\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u300c\u8eca\u300d\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u3042\u308c\u3070\u3001\u305d\u3053\u306b\u306f\u8eca\u304c\u6301\u3064\u3079\u304d\u5c5e\u6027\uff08\u8272\u3001\u30e1\u30fc\u30ab\u30fc\u3001\u901f\u5ea6\u306a\u3069\uff09\u3084\u6a5f\u80fd\uff08\u8d70\u308b\u3001\u6b62\u307e\u308b\u306a\u3069\uff09\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff08Instance\uff09<\/h3>\n<p>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u306f\u3001\u30af\u30e9\u30b9\u304b\u3089\u5b9f\u969b\u306b\u4f5c\u3089\u308c\u305f\u300c\u5b9f\u4f53\u300d\u306e\u3053\u3068\u3067\u3059\u3002\u300c\u8eca\u300d\u30af\u30e9\u30b9\u304b\u3089\u4f5c\u3089\u308c\u305f\u300c\u8d64\u3044\u30c8\u30e8\u30bf\u306e\u8eca\u300d\u3084\u300c\u9752\u3044\u30db\u30f3\u30c0\u306e\u8eca\u300d\u304c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u3042\u305f\u308a\u307e\u3059\u3002<\/p>\n<h2>\u57fa\u672c\u7684\u306a\u30af\u30e9\u30b9\u306e\u4f5c\u308a\u65b9<\/h2>\n<h3>1. \u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Person:\n    pass\n\n# \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\nperson1 = Person()\nprint(person1)  # &lt;__main__.Person object at 0x...&gt;\n<\/code><\/pre>\n<h3>2. \u5c5e\u6027\u3092\u6301\u3064\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Person:\n    def __init__(self, name, age):\n        self.name = name\n        self.age = age\n\n# \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\nperson1 = Person(\"\u7530\u4e2d\", 25)\nprint(person1.name)  # \u7530\u4e2d\nprint(person1.age)   # 25\n<\/code><\/pre>\n<h3>3. \u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3064\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Person:\n    def __init__(self, name, age):\n        self.name = name\n        self.age = age\n    \n    def greet(self):\n        print(f\"\u3053\u3093\u306b\u3061\u306f\u3001{self.name}\u3067\u3059\")\n\nperson1 = Person(\"\u4f50\u85e4\", 30)\nperson1.greet()  # \u3053\u3093\u306b\u3061\u306f\u3001\u4f50\u85e4\u3067\u3059\n<\/code><\/pre>\n<h2>\u30af\u30e9\u30b9\u5b9a\u7fa9\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n<pre><code class=\"language-python\">class \u30af\u30e9\u30b9\u540d:\n    def __init__(self, \u5f15\u65701, \u5f15\u65702, ...):\n        \"\"\"\u521d\u671f\u5316\u30e1\u30bd\u30c3\u30c9\uff08\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\uff09\"\"\"\n        self.\u5c5e\u60271 = \u5f15\u65701\n        self.\u5c5e\u60272 = \u5f15\u65702\n    \n    def \u30e1\u30bd\u30c3\u30c9\u540d(self, \u5f15\u6570...):\n        \"\"\"\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\"\"\"\n        \u51e6\u7406\u5185\u5bb9\n        return \u623b\u308a\u5024\n<\/code><\/pre>\n<h3>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8<\/h3>\n<ul>\n<li><strong>\u30af\u30e9\u30b9\u540d<\/strong>: \u5927\u6587\u5b57\u3067\u59cb\u307e\u308b\uff08PascalCase\uff09<\/li>\n<li><strong><code>__init__<\/code>\u30e1\u30bd\u30c3\u30c9<\/strong>: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\u6642\u306b\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u308b<\/li>\n<li><strong><code>self<\/code><\/strong>: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u81ea\u8eab\u3092\u8868\u3059\u7279\u5225\u306a\u5f15\u6570<\/li>\n<li><strong>\u5c5e\u6027<\/strong>: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u6301\u3064\u30c7\u30fc\u30bf<\/li>\n<li><strong>\u30e1\u30bd\u30c3\u30c9<\/strong>: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b9f\u884c\u3067\u304d\u308b\u51e6\u7406<\/li>\n<\/ul>\n<h2>\u5b9f\u8df5\u7684\u306a\u30af\u30e9\u30b9\u306e\u4f8b<\/h2>\n<h3>1. \u9280\u884c\u53e3\u5ea7\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class BankAccount:\n    def __init__(self, owner, balance=0):\n        self.owner = owner\n        self.balance = balance\n    \n    def deposit(self, amount):\n        self.balance += amount\n        print(f\"{amount}\u5186\u5165\u91d1\u3057\u307e\u3057\u305f\")\n    \n    def withdraw(self, amount):\n        if self.balance &gt;= amount:\n            self.balance -= amount\n            print(f\"{amount}\u5186\u51fa\u91d1\u3057\u307e\u3057\u305f\")\n        else:\n            print(\"\u6b8b\u9ad8\u4e0d\u8db3\u3067\u3059\")\n\n# \u4f7f\u7528\u4f8b\naccount = BankAccount(\"\u7530\u4e2d\", 1000)\naccount.deposit(500)   # 500\u5186\u5165\u91d1\u3057\u307e\u3057\u305f\naccount.withdraw(200)  # 200\u5186\u51fa\u91d1\u3057\u307e\u3057\u305f\nprint(account.balance) # 1300\n<\/code><\/pre>\n<h3>2. \u5b66\u751f\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Student:\n    def __init__(self, name, student_id):\n        self.name = name\n        self.student_id = student_id\n        self.scores = []\n    \n    def add_score(self, score):\n        self.scores.append(score)\n    \n    def get_average(self):\n        if self.scores:\n            return sum(self.scores) \/ len(self.scores)\n        return 0\n\n# \u4f7f\u7528\u4f8b\nstudent = Student(\"\u5c71\u7530\", \"S001\")\nstudent.add_score(85)\nstudent.add_score(92)\nprint(f\"\u5e73\u5747\u70b9: {student.get_average()}\")  # \u5e73\u5747\u70b9: 88.5\n<\/code><\/pre>\n<h3>3. \u5546\u54c1\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Product:\n    def __init__(self, name, price, stock):\n        self.name = name\n        self.price = price\n        self.stock = stock\n    \n    def sell(self, quantity):\n        if self.stock &gt;= quantity:\n            self.stock -= quantity\n            total = self.price * quantity\n            print(f\"{self.name}\u3092{quantity}\u500b\u8ca9\u58f2\u3057\u307e\u3057\u305f\")\n            return total\n        else:\n            print(\"\u5728\u5eab\u304c\u4e0d\u8db3\u3057\u3066\u3044\u307e\u3059\")\n            return 0\n\n# \u4f7f\u7528\u4f8b\napple = Product(\"\u308a\u3093\u3054\", 100, 50)\ntotal_price = apple.sell(5)  # \u308a\u3093\u3054\u30925\u500b\u8ca9\u58f2\u3057\u307e\u3057\u305f\nprint(f\"\u58f2\u4e0a: {total_price}\u5186\")  # \u58f2\u4e0a: 500\u5186\n<\/code><\/pre>\n<h2>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u5909\u6570<\/h2>\n<h3>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570<\/h3>\n<pre><code class=\"language-python\">class Car:\n    def __init__(self, color):\n        self.color = color  # \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\n\ncar1 = Car(\"\u8d64\")\ncar2 = Car(\"\u9752\")\nprint(car1.color)  # \u8d64\nprint(car2.color)  # \u9752\n<\/code><\/pre>\n<h3>\u30af\u30e9\u30b9\u5909\u6570<\/h3>\n<pre><code class=\"language-python\">class Car:\n    wheels = 4  # \u30af\u30e9\u30b9\u5909\u6570\uff08\u5168\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u5171\u6709\uff09\n    \n    def __init__(self, color):\n        self.color = color\n\ncar1 = Car(\"\u8d64\")\ncar2 = Car(\"\u9752\")\nprint(car1.wheels)  # 4\nprint(car2.wheels)  # 4\nprint(Car.wheels)   # 4\n<\/code><\/pre>\n<h2>\u30e1\u30bd\u30c3\u30c9\u306e\u7a2e\u985e<\/h2>\n<h3>1. \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9<\/h3>\n<pre><code class=\"language-python\">class Calculator:\n    def __init__(self, value=0):\n        self.value = value\n    \n    def add(self, num):  # \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\n        self.value += num\n        return self.value\n\ncalc = Calculator(10)\nresult = calc.add(5)  # 15\n<\/code><\/pre>\n<h3>2. \u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9<\/h3>\n<pre><code class=\"language-python\">class Person:\n    population = 0\n    \n    def __init__(self, name):\n        self.name = name\n        Person.population += 1\n    \n    @classmethod\n    def get_population(cls):  # \u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\n        return cls.population\n\nperson1 = Person(\"\u7530\u4e2d\")\nperson2 = Person(\"\u4f50\u85e4\")\nprint(Person.get_population())  # 2\n<\/code><\/pre>\n<h3>3. \u9759\u7684\u30e1\u30bd\u30c3\u30c9<\/h3>\n<pre><code class=\"language-python\">class MathUtils:\n    @staticmethod\n    def add(a, b):  # \u9759\u7684\u30e1\u30bd\u30c3\u30c9\n        return a + b\n\nresult = MathUtils.add(3, 5)  # 8\n<\/code><\/pre>\n<h2>\u7279\u6b8a\u30e1\u30bd\u30c3\u30c9\uff08\u30de\u30b8\u30c3\u30af\u30e1\u30bd\u30c3\u30c9\uff09<\/h2>\n<h3>\u3088\u304f\u4f7f\u308f\u308c\u308b\u7279\u6b8a\u30e1\u30bd\u30c3\u30c9<\/h3>\n<pre><code class=\"language-python\">class Book:\n    def __init__(self, title, pages):\n        self.title = title\n        self.pages = pages\n    \n    def __str__(self):  # \u6587\u5b57\u5217\u8868\u73fe\n        return f\"\u300c{self.title}\u300d({self.pages}\u30da\u30fc\u30b8)\"\n    \n    def __len__(self):  # len()\u95a2\u6570\u306e\u52d5\u4f5c\n        return self.pages\n    \n    def __add__(self, other):  # + \u6f14\u7b97\u5b50\u306e\u52d5\u4f5c\n        total_pages = self.pages + other.pages\n        return Book(f\"{self.title} &amp; {other.title}\", total_pages)\n\n# \u4f7f\u7528\u4f8b\nbook1 = Book(\"Python\u5165\u9580\", 200)\nbook2 = Book(\"Web\u958b\u767a\", 150)\n\nprint(book1)  # \u300cPython\u5165\u9580\u300d(200\u30da\u30fc\u30b8)\nprint(len(book1))  # 200\n\ncombined = book1 + book2\nprint(combined)  # \u300cPython\u5165\u9580 &amp; Web\u958b\u767a\u300d(350\u30da\u30fc\u30b8)\n<\/code><\/pre>\n<h2>\u7d99\u627f\u306e\u57fa\u672c<\/h2>\n<h3>\u57fa\u5e95\u30af\u30e9\u30b9\u3068\u6d3e\u751f\u30af\u30e9\u30b9<\/h3>\n<pre><code class=\"language-python\">class Animal:  # \u57fa\u5e95\u30af\u30e9\u30b9\n    def __init__(self, name):\n        self.name = name\n    \n    def speak(self):\n        pass\n\nclass Dog(Animal):  # \u6d3e\u751f\u30af\u30e9\u30b9\n    def speak(self):\n        return f\"{self.name}\u306f\u30ef\u30f3\u30ef\u30f3\u3068\u9cf4\u304d\u307e\u3059\"\n\nclass Cat(Animal):  # \u6d3e\u751f\u30af\u30e9\u30b9\n    def speak(self):\n        return f\"{self.name}\u306f\u30cb\u30e3\u30fc\u3068\u9cf4\u304d\u307e\u3059\"\n\n# \u4f7f\u7528\u4f8b\ndog = Dog(\"\u30dd\u30c1\")\ncat = Cat(\"\u30bf\u30de\")\nprint(dog.speak())  # \u30dd\u30c1\u306f\u30ef\u30f3\u30ef\u30f3\u3068\u9cf4\u304d\u307e\u3059\nprint(cat.speak())  # \u30bf\u30de\u306f\u30cb\u30e3\u30fc\u3068\u9cf4\u304d\u307e\u3059\n<\/code><\/pre>\n<h2>\u3088\u304f\u3042\u308b\u9593\u9055\u3044\u3068\u6ce8\u610f\u70b9<\/h2>\n<h3>1. self\u306e\u5fd8\u308c<\/h3>\n<pre><code class=\"language-python\"># \u274c \u9593\u9055\u3044\nclass Person:\n    def greet():  # self\u304c\u7121\u3044\n        print(\"\u3053\u3093\u306b\u3061\u306f\")\n\n# \u2705 \u6b63\u89e3\nclass Person:\n    def greet(self):  # self\u3092\u5fd8\u308c\u305a\u306b\n        print(\"\u3053\u3093\u306b\u3061\u306f\")\n<\/code><\/pre>\n<h3>2. \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306e\u521d\u671f\u5316\u5fd8\u308c<\/h3>\n<pre><code class=\"language-python\"># \u274c \u9593\u9055\u3044\nclass Counter:\n    def increment(self):\n        self.count += 1  # count\u304c\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u306a\u3044\n\n# \u2705 \u6b63\u89e3\nclass Counter:\n    def __init__(self):\n        self.count = 0  # \u521d\u671f\u5316\n    \n    def increment(self):\n        self.count += 1\n<\/code><\/pre>\n<h3>3. \u30af\u30e9\u30b9\u5909\u6570\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306e\u6df7\u540c<\/h3>\n<pre><code class=\"language-python\">class MyClass:\n    shared = []  # \u30af\u30e9\u30b9\u5909\u6570\uff08\u6ce8\u610f\u304c\u5fc5\u8981\uff09\n    \n    def add_item(self, item):\n        self.shared.append(item)  # \u5168\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u5171\u6709\u3055\u308c\u308b\n\n# \u3088\u308a\u5b89\u5168\u306a\u65b9\u6cd5\nclass MyClass:\n    def __init__(self):\n        self.items = []  # \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\n    \n    def add_item(self, item):\n        self.items.append(item)\n<\/code><\/pre>\n<h2>\u5b9f\u7528\u7684\u306a\u30af\u30e9\u30b9\u8a2d\u8a08\u306e\u30b3\u30c4<\/h2>\n<h3>1. \u5358\u4e00\u8cac\u4efb\u539f\u5247<\/h3>\n<pre><code class=\"language-python\"># \u274c \u8cac\u4efb\u304c\u591a\u3059\u304e\u308b\nclass User:\n    def save_to_database(self):\n        pass\n    def send_email(self):\n        pass\n    def calculate_tax(self):\n        pass\n\n# \u2705 \u8cac\u4efb\u3092\u5206\u96e2\nclass User:\n    def __init__(self, name, email):\n        self.name = name\n        self.email = email\n\nclass UserRepository:\n    def save(self, user):\n        pass\n\nclass EmailService:\n    def send(self, user, message):\n        pass\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u306e\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u57fa\u672c\u304b\u3089\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u307e\u3067\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u67d4\u8edf\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8<\/h3>\n<ul>\n<li><strong>\u30af\u30e9\u30b9\u306f\u8a2d\u8a08\u56f3\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u5b9f\u4f53<\/strong><\/li>\n<li><strong><code>__init__<\/code>\u30e1\u30bd\u30c3\u30c9\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u521d\u671f\u5316<\/strong><\/li>\n<li><strong><code>self<\/code>\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9<\/strong><\/li>\n<li><strong>\u30e1\u30bd\u30c3\u30c9\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u632f\u308b\u821e\u3044\u3092\u5b9a\u7fa9<\/strong><\/li>\n<li><strong>\u7d99\u627f\u3067\u65e2\u5b58\u30af\u30e9\u30b9\u3092\u62e1\u5f35<\/strong><\/li>\n<\/ul>\n<p>\u307e\u305a\u306f\u7c21\u5358\u306a\u30af\u30e9\u30b9\u304b\u3089\u59cb\u3081\u3066\u3001\u5f90\u3005\u306b\u8907\u96d1\u306a\u6a5f\u80fd\u3092\u6301\u3064\u30af\u30e9\u30b9\u306e\u8a2d\u8a08\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\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u6982\u5ff5\u304c\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u4ed8\u304d\u307e\u3059\uff01<\/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=\"6FptjqCc41\"><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=xBNMId7QPz#?secret=6FptjqCc41\" data-secret=\"6FptjqCc41\" 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=\"R39mv786i8\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\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\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\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=PR0sefr26T#?secret=R39mv786i8\" data-secret=\"R39mv786i8\" 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=\"aXz3YLFoli\"><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=f2p2jwru7y#?secret=aXz3YLFoli\" data-secret=\"aXz3YLFoli\" 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=\"6dqufQ0oKj\"><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=xQiweQovAv#?secret=6dqufQ0oKj\" data-secret=\"6dqufQ0oKj\" 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=\"IHrgoPnKaq\"><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=3f6PHUKPvd#?secret=IHrgoPnKaq\" data-secret=\"IHrgoPnKaq\" 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=\"zdZnnMzJ9e\"><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=osiWzfH9AZ#?secret=zdZnnMzJ9e\" data-secret=\"zdZnnMzJ9e\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306b\u304a\u3051\u308b\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u6838\u3068\u306a\u308b\u91cd\u8981\u306a\u6982\u5ff5\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\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\u30af\u30e9\u30b9\u3092\u7406\u89e3\u3059\u308b\u3053 [&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-42937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":47,"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\/42937","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=42937"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42937\/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=42937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=42937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=42937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}