Python Class Property

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Jul 23 6:41
Editor
Edited
Edited
2024 Jul 5 4:39
Refs
Refs

Literally All the things in python is class

  • @property, classmethod, staticmethod
  • @value.setter getter
a lot of dunder method names
기본적으로 객체에 점을 찍고 속성 (메서드나 변수)에 접근하면 가장 먼저 객체 내부를 찾습니다. 객체 내부에 해당 속성이 없다면 해당 객체에 대한 클래스로 이동한 후 속성을 찾습니다. 클래스에도 속성이 없다면 상속받은 클래스가 있는 경우 부모 클래스에 속성이 있는지 검색합니다.
자식 클래스가 부모 클래스를 상속받는다고 해서 항상 자식 클래스에서 부모 클래스의 초기화자를 호출할 필요는 없다
 
Python Class members
 
 
 
properties for built in functions
All 71 built-in Python functions
How many did you know? A quick rundown of EVERY single one of the 71 builtin Python functions. Technically, these are not all functions, but these are the 71 callables that are listed in the Python docs as "Builtin functions". These are the global names that are available to call that you don't need to install or even import anything to use. ― mCoding with James Murphy (https://mcoding.io) Docs: https://docs.python.org/3/library/functions.html Source code: https://github.com/mCodingLLC/VideosSampleCode SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! https://patreon.com/mCoding Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.) https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Want to donate crypto? Check out the rest of my supported donations on my website! https://mcoding.io/donate Top patrons and donors: Laura M, Jameson, Dragos C, Vahnekie, Neel R, Matt R, Johan A, Casey G, Mark M, Mutual Information, Pi BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james.mcoding CHAPTERS --------------------------------------------------- 0:00 Intro 0:24 Math - bool int float complex max min divmod abs pow round sum 2:56 Collections - dict list tuple set frozenset 3:44 Strings - bytes bytearray str memoryview open 5:18 Strings - chr ord bin oct hex format input ascii repr 7:04 Iteration - iter next enumerate zip reversed sorted filter map 9:17 Iteration - all any range slice aiter anext 10:42 Debugging - breakpoint help print 11:16 Object - object getattr setattr delattr hasattr dir id 14:19 Object - hash len isinstance issubclass callable super type 16:29 Descriptors - property classmethod staticmethod 17:49 Dynamic - eval exec compile globals locals vars __import__
All 71 built-in Python functions
 
 

Recommendations