DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+1 =
Submit