코딩일기

what is hasattr 본문

카테고리 없음

what is hasattr

daje 2022. 6. 9. 16:27
728x90
반응형

 

if not hasatter(self, "acts"):
	return ""

 

변수가 있는지 확인하는 파이썬 코드 

728x90
반응형
Comments