Python delay 혹은 sleep 해서 잠시 시간을 지연 시키는 방법은?

This topic contains 0 replies, has 1 voice, and was last updated by  technote 2017-10-17 18:46.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #79

    technote
    Keymaster

    import time time.sleep(1)
    혹은
    from time import sleep sleep(1)
    만약 millisecond로 쉬고 싶다면 sleep(0.01) 이런식으로 하면 된다.

    sleep(0.01) 이면 10ms sleep 이 발생한다.

    • This topic was modified 1 year ago by  technote.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.