[PYTHON/KOREAN_LUNAR_CALENDAR] getChineseGapJaString 함수를 사용해 육십갑자(한자) 문자열 구하기
Python/korean_lunar_calendar 2019. 11. 25. 11:16728x90
반응형
import korean_lunar_calendar
calendar = korean_lunar_calendar.KoreanLunarCalendar()
# 양력 날짜를 설정한다.
calendar.setSolarDate(2019, 9, 22)
# 한자 육십갑자를 구한다.
chineseSexagenaryCycle = calendar.getChineseGapJaString()
print(chineseSexagenaryCycle)
728x90
반응형
댓글을 달아 주세요