Posted By

eliluminado on 11/24/10


Tagged

Bash batch sleep


Versions (?)

Using the 'sleep' function


 / Published in: Python
 

URL: http://www.codigopython.com.ar/miniguias/pausa-entre-comandos-y-acciones

Dos formas de usar la funciĆ³n 'sleep' de Python.

Two ways to use the 'sleep' function in Python.

  1. # First way:
  2. import time
  3. time.sleep(10)
  4.  
  5. # Second way:
  6. from time import sleep
  7. sleep(10)

Report this snippet  

You need to login to post a comment.