파일불러오기 ‘import’
여러개 파일로 분리하기
app.py
from app_func import * say_hi_to #say_hi_to 만 불러온다
app_func.py
def say_hi():
print('안녕!')
def say_hi_to(name):
print(f'{name}님 안녕하세요')
from app_func import * say_hi_to #say_hi_to 만 불러온다
def say_hi():
print('안녕!')
def say_hi_to(name):
print(f'{name}님 안녕하세요')