Time1 python 실행시간 찍기 clear_output # time & clear output library import time from IPython.display import clear_output # get KST time zone library import datetime from pytz import timezone, utc # start_time = utc.localize(now).astimezone(KST) # ts = time.time() # time.strftime('%H:%M:%S', time.gmtime(12345)) def KST_time(): now = datetime.datetime.utcnow() KST = timezone('Asia/Seoul') KST.localize(now) return utc.localize(now).ast.. 2020. 10. 4. 이전 1 다음