class

class.py


class Person(object):
    def say_something(self):
        print('hello')

person = Person()
person.say_something() #hello

Recommended Posts

class
class
Class variables
Class variables
Class inheritance
Abstract class
[Python] class, instance
"Kanrika" python class
About python, class
Go class basics
Page processing class
Class method static method
Python class, instance
Proprietary exception class
JSON conversion class
#Python basics (class)
About Class and Instance
python syslog wrapper class
Python class (Python learning memo ⑦)
parallelization of class method
parallelization of class method
case class in python
Write decorator in class
Python self-made class sort
[python] class basic methods
[Python] Class inheritance, override
python subprocess wrapper class
One Class SVM implementation
Class methods and static methods
YOLO Python wrapper class
Class notation in Python
Python exception class list