에러 코드 포털
PythonPython오류 코드

NameError

NameError

지역 또는 전역 이름을 찾지 못한 경우입니다.

Raised when a local or global name is not found. This applies only to unqualified names. The associated value is an error message that includes the name that could not be found. The optional name keyword-only argument sets the attribute:

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.