Sub:
}
magic_method =,magic_method . magic_method
dunder_method =,dunder_method . dunder_method
{
파이썬,Python용어?
dunder는 물론 double underscore -
dunder
__new__(cls, ...) # class의 새 instance를 만들고 return.
__init__(self, ...) # __new__로 instance가 만들어진 후, object를 초기화.
__repr__(self) # should return an unambiguous string representation of the object
__str__(self) # should return a user-friendly string representation of the object
# comparison
__eq__(self, other) # == equality
__ne__(self, other) # != inequality
__lt__(self, other) # <
__le__(self, other) # <=
__gt__(self, other) # >
__ge__(self, other) # >=
# arithmetic and bitwise
__add__(self, other) # addition +
__sub__(self, other) # subtraction -
__mul__(self, other) # multiplication *
__truediv__(self, other) # division /
__floordiv__(self, other) # floor_division //
__mod__(self, other) # modulus %
__pow__(self, other[, modulo]) # power **
__and__(self, other) # bitwise_and &
__invert__(self) # bitwise_inversion
__or__(self, other) # or_operator or
__xor__(self, other) # bitwise_or_operator ^
이하 생략 시간x
ADDHERE
ADDHERE
ADDHERE
같은 영단어 method, 다른 뜻
formal_method =,formal_method . formal_method
}
... 하고 보니 ime의 경우는 보통 방식으로 번역. //
방식,method
input_method =,input_method . input_method
(글자/문자)
입력,input 방법/방식. 대체적으로
키보드,keyboard의
키,key(글쇠)를 눌러서(typing해서) 하게 됨.
(기타 필기 인식
handwriting recognition (HWR) aka handwritten text recognition (HTR),
음성 인식
speech recognition, speech-to-text(STT),
virtual keyboard(= on-screen keyboard)
virtual_keyboard,
OCR
, etc.)
input_method_editor IME =,input_method_editor =,IME .