Recent language
Python strftime strptime
Python strftime strptime Python strftime strptime datetime 등 시간을 다루는 객체에서는, strptime, strftime 이라는 메서드를 지원 문자열과 datetime 객체 사이의 변환을 지원 strftime: datetime 객체를 문자열로 변환 d.strftime(format) 형태로 사용 strptime: 문자열을 datetime 객체로 변환 datetime.datetime.strptime(date_string, format) 형태로 사용 References https://docs.python.org/ko/3/library/datetime.html#strftime-and-strptime-behavior
read morePython Lambda
Python Lambda Python Lambda Python에서 익명 함수를 사용할 때, lambda라는 키워드를 사용 lambda 인자: 표현식 형태로 사용 인자들은 각각 comma로 구분 표현식은 object를 반환 예시: lambda x, y: x ** y map, filter 등 함수 자체를 인자로 넘겨야하는 메서드의 경우 주로 사용 References https://velog.io/@euisuk-chung/%ED%8C%8C%EC%9D%B4%EC%8D%AC-%EC%8B%9C%EA%B0%81%ED%99%94-%EB%A7%88%EC%8A%A4%ED%84%B0%ED%95%98%EA%B8%B0-%EB%9E%8C%EB%8B%A4Lambda-%ED%95%A8%EC%88%98
read more