달나라 노트

Python calendar : prmonth (특정 년도 + 특정 월의 달력 추출) 본문

Python/Python calendar

Python calendar : prmonth (특정 년도 + 특정 월의 달력 추출)

CosmosProject 2020. 12. 23. 02:29
728x90
반응형

 

 

 

import calendar

print(calendar.prmonth(2020, 3))

calendar.prmonth 함수를 이용해 2020년의 3월 달력을 출력할 수 있습니다.

 

 

 

 

 

 

728x90
반응형
Comments