- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathObject.py
More file actions
Latest commit
17 lines (11 loc) · 506 Bytes
/
Copy pathObject.py
File metadata and controls
17 lines (11 loc) · 506 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#-*- coding: utf-8 -*-
#Object
'''
It has been agreed that in Python everything is an object. In fact, Python is an object-oriented language.
Objects are instances of classes. For example, when you create a variable with a string, you are creating a string object.
Objects have attributes (characteristics) and methods (actions that can be applied).
Notice how to check attributes and methods to an object:
object.attribute
object.method( )
Translated with www.DeepL.com/Translator (free version)
'''