블로그
- 2026 1기 청소년 영어 문화유산해설사 11주차 과제_홍수호 Dear teacher, Hello. I always saw you only on the screen, but now I am writing a letter to you. I think I am not as good as the other students, but I will try my best and show you a good result.
- Python 데코레이터의 핵심, wrapper 완전 이해하기 정체부터 짚고 가기 데코레이터의 기본 형태를 다시 써보면 이렇게 생겼어요. def deco(func): def wrapper(*args, **kwargs): # (1) 실행 전 result = func(*args, **kwargs) # 원래 함수 호출 # (2) 실행 후 return result return wrapper @deco def hello(): pr....
- Python 데코레이터의 핵심, wrapper 완전 이해하기 정체부터 짚고 가기 데코레이터의 기본 형태를 다시 써보면 이렇게 생겼어요. def deco(func): def wrapper(*args, **kwargs): # (1) 실행 전 result = func(*args, **kwargs) # 원래 함수 호출 # (2) 실행 후 return result return wrapper @deco def hello(): pr....
- 정규식 *정규표현식 정규표현식 생성시 var match = /hello/; 와 같이 두 개의 슬러시 사용 *.gif 확장자 매칭 var str = 'The file is picture.gif ; var gifRegex = /\S*\.gif/i; var result = str.match(gifRegex); var fileName = result[0]; .* : 모든문자(.