from theather_module import price_soldier as price 모듈 - 해당 모듈(theather_module)에 정의 되어있는 함수(price_sildier을 price) 사용 가능 from travel import * #travel 파일에 __init__.py에서 __all__=['vietnam'] 사용 내용 가져옴 Vietnam.py에 있는 함수 사용 가능.
from theather_module import price_soldier as price
모듈 - 해당 모듈(theather_module)에 정의 되어있는 함수(price_sildier을 price) 사용 가능
from travel import * #travel 파일에 __init__.py에서 __all__=['vietnam'] 사용 내용 가져옴
Vietnam.py에 있는 함수 사용 가능.