코딩공부

  • 홈
  • 태그
  • 방명록

__main__ 1

[python] __name__

1. __name__ __name__ is a built in variable in every python module. Its value is set automatically. __name__ is set to the name of the current module. ex) But as soon as code begins running form a file, the __name_ of the file evaluates to '__main__' That file's name remains '__main__' for the duration of the program.

Self-study/Python 2024.01.15
이전
1
다음
더보기
프로필사진

코딩공부

  • 분류 전체보기 (41)
    • Self-study (38)
      • HTML (0)
      • CSS (0)
      • Javascript (12)
      • 자바 (5)
      • Python (11)
      • React (6)
      • C언어 (1)
      • Kotlin (2)
      • 기타 (1)
    • Leetcode (3)
      • alogorithm (0)

Tag

leetcode, 지수표기법, 함수, 객체지향, 자바스크립트, 코드잇, 초보개발, 파이썬 기초, 변수, 자바스크립, coding, 코딩, python, 파이썬, 자바, 외장함수, 자바의정석, 지역변수, 리트코드, mutability,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바