본문 바로가기

YUYANE

검색하기
YUYANE
프로필사진 YUYA

  • 분류 전체보기 (108)
    • Programming Languages (65)
      • C (10)
      • DART (0)
      • HTML, CSS (7)
      • JAVA (20)
      • JS (8)
      • PYTHON (20)
    • Framework (29)
      • DJANGO (26)
      • FLUTTER (3)
    • Programming Theory (14)
      • Computer Science (6)
      • Algorithm (8)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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 31
Tags
  • 부스트코스
  • 장고
  • pipenv
  • 강원도속초맛집
  • 코딩독학
  • DOM
  • 성수동카페
  • 상속
  • FLUTTER
  • 남양주맛집
  • c언어문자열
  • popupmenubutton
  • 가상환경
  • 포인터
  • 속초여행
  • 컴퓨터과학
  • 알고리즘
  • 정렬알고리즘
  • python3
  • 노마드코더
  • richtext
  • Django
  • BeautifulSoup
  • JavaScript
  • removetooltip
  • 건대입구맛집
  • 아스키코드
  • Python
  • 추상클래스
  • 자바
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록__init__ (1)

YUYANE

Python / special method : __init__, __str__

학습 강의 www.udemy.com/course/python-and-django-full-stack-web-developer-bootcamp/ nomadcoders.co/python-for-beginners/lobby Special method class Car(): wheels = 4 doors = 4 windows = 4 seats = 4 print(dir(Car)) dir 함수를 출력해보면 파이썬에 이미 내장되어 있는 함수 목록들을 볼 수 있다. 오늘은 그 중에서 __init__과 __str__ 두 가지 함수를 살펴볼 것이다. __init__ class Cat(): def __init__(self,breed,name): self.breed = breed self.name = name mycat = ..

Programming Languages/PYTHON 2021. 1. 25. 16:25
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바