Python Object 102
cmj
Continue
https://www.slideshare.net/jtsai5/20181116-python-object-101
Abstraction
• With-statement

• Copy

• Object property and attribute

• Special Methods
With-statement
• With-statement

• __enter__ and __exit__
Copy
• Copy object

• Python builtin library : https://docs.python.org/3.7/
library/copy.html

• copy and deep copy

• __copy__ and __deepcopy__
Object Property
• Object attribute and property

• __dict__ vs __slots__

• Memory size
Object Reference
• Weak Reference

• Python builtin library : https://docs.python.org/3/
library/weakref.html

• __weakref__
Special Methods
• Python string to integer

• isdecimal vs isdigit vs isnumberic
Not Q&A Time

[2018.12.15] hst python object 102