파이썬 idle에 *초 기다리기가 있나요?

말 그대롭니다.
연습장 비슷한거라 없을거라고 예상하는데 있으면 사이트나 답변달아주세요.

dakangame20100204 979

2020년 10월 30일 10:29 오후

목록으로
2개의 답변이 있습니다. 1 / 1 Page
import threading

def printit():
  threading.Timer(5.0, printit).start()
  print "Hello, World!"

printit()

# continue with the rest of your code

https://stackoverflow.com/questions/3393612/run-certain-code-every-n-seconds

질문자께서 질문한을 내용을 이해 하기가 어렵네요..

쿠우아저씨

M 2020년 10월 31일 1:09 오후

아아 제말은 블럭코딩(엔트리,스크래칭)같은건 몇초 기다리기 명령어가 있잖아요. 파이썬에도 있나 물어보는건데 중요한게 'idle'에도 있나 물어보는거였습니다. - dakangame20100204님, 2020년 10월 31일 4:03 오후 추천 , 대댓글
import time

print('a')
time.sleep(5)
print('b')

이런거 말하시는 걸까요?

singleton

2020년 10월 31일 2:14 오후