Using the 'sleep' function


/ Published in: Python
Save to your folder(s)

Dos formas de usar la función 'sleep' de Python.

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


Copy this code and paste it in your HTML
  1. # First way:
  2. import time
  3. time.sleep(10)
  4.  
  5. # Second way:
  6. from time import sleep
  7. sleep(10)

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

Report this snippet


Comments


You need to login to view comments.