04-29 21:07
Notice
Recent Posts
Recent Comments
관리 메뉴

Scientific Computing & Data Science

[Programming / Python] 현재 시간 출력하기 본문

Programming/Python

[Programming / Python] 현재 시간 출력하기

cinema4dr12 2017. 11. 24. 21:12

datetime 모듈을 이용하여 현재 시간을 출력하는 Python 예제입니다.


1
2
3
from datetime import datetime
 
print("Current Time is %s." % (str(datetime.now())))
cs


Comments