time_now()

def time_now()

Gets the current time in seconds since the epoch.

Returns

float the current time in seconds since the epoch.

time_sleep()

def time_sleep(seconds)

Sleep for a number of seconds.

Args

  • seconds - float The number of seconds to sleep