TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'




# -*- conding: utf-8 -*-
import time

#타이머 시작
SECOND = 1
MINUTE = 60
HOUR = MINUTE * 60
HOUR24 = 24 * HOUR

count_t = time.time()

#//코드 구현
time.sleep(1)
pass_time = int(time.time() - count_t)

m, s = divmod(pass_time, 60)
h, m = divmod(m, 60)


#print("%d:%02d:%02d") % (h, m, s)


print("%d:%02d:%02d" % (h, m, s))

Popular posts from this blog

youtube download

com.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다.

rexpert 공식필드(javascript) 점검일 주기 계산