DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Defining a Class in Python
class MyNewClass: '''This is a docstring. I have created a new class''' pass
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#Defining
#Class
#Python
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit