Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python class

class MyClass:
    """A simple example class"""
    i = 12345

    def f(self):
        return 'hello world'
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #python #class
ADD COMMENT
Topic
Name
9+2 =