==========================================================…original source : https://www.youtube.com/playlist?list=PLS1QulWo1RIYt4e0WnBp-ZjCNq8X0FX0J

image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image
image

자바, kotlin의 경우 여러개의 생성자를 정의할수 있다. 

image
image
image
image
image

==========================================================

.

.

.

module

image
image

위위의 myfunctions.py 모듈을 import로 가져와서 사용하는 것을 보여주고 있다.

==========================================================

.

.

.

image

위는 모듈이 다른 directory에 있을 때를 보여주고 있다.

image

위는 모듈이 다른 directory에 있을 때의 또 다른 방법을 보여주고 있다

image

==========================================================

.

.

.

image
image
image

==========================================================

.

.

.

image

==========================================================

.

.

.

image
image
image

==========================================================

.

.

.

하나의 class 가 하나의 class안에 들어가는 것을 composition 이라고 한다. 

image
image

==========================================================

.

.

.

image

==========================================================

.

.

.

exception

image
image
image

==========================================================

.

.

.

__name__   property 

image

==========================================================

.

.

.

writing file

image
image

==========================================================

.

.

.

reading files

image

아래와 같이 없는 화일의 이름으로 여는 경우 filenotfounderror가 발생한다.

image
image
image
image
image
image
image
image
image
image

==========================================================

.

.

.

json file 읽고 쓰기

image
image
image
image
image

==========================================================

.

.

.

iterator

image
image

==========================================================

.

.

.

generators

image
image
image

==========================================================

.

.

.

command line arguments

image
image
image

==========================================================

.

.

.

lambda 

image
image

==========================================================

.

.

.

nested function and closure

image
image
image
image
image

==========================================================

.

.

.

decorator

image
image
image
image
image
image

==========================================================

.

.

.

operator overloading

image
image
image
image

==========================================================

.

.

.

global, local, nonlocal 변수

Comments are closed.

Post Navigation