time.clock_getres()

time.clock_getres(clk_id) Return the resolution (precision) of the specified clock clk_id. Availability: Unix. New in version 3.3.

threading.Timer.cancel()

cancel() Stop the timer, and cancel the execution of the timer’s action. This will only work if the timer is still in its waiting stage.

time.altzone

time.altzone The offset of the local DST timezone, in seconds west of UTC, if one is defined. This is negative if the local DST timezone is east of UTC (as in Western Europe, including the UK). Only use this if daylight is nonzero.

time.clock()

time.clock() On Unix, return the current processor time as a floating point number expressed in seconds. The precision, and in fact the very definition of the meaning of “processor time”, depends on that of the C function of the same name. On Windows, this function returns wall-clock seconds elapsed since the first call to this function, as a floating point number, based on the Win32 function QueryPerformanceCounter(). The resolution is typically better than one microsecond. Deprecated sinc

time.asctime()

time.asctime([t]) Convert a tuple or struct_time representing a time as returned by gmtime() or localtime() to a string of the following form: 'Sun Jun 20 23:21:05 1993'. If t is not provided, the current time as returned by localtime() is used. Locale information is not used by asctime(). Note Unlike the C function of the same name, asctime() does not add a trailing newline.

threading.Thread.start()

start() Start the thread’s activity. It must be called at most once per thread object. It arranges for the object’s run() method to be invoked in a separate thread of control. This method will raise a RuntimeError if called more than once on the same thread object.

threading.Thread.setName()

setName() Old getter/setter API for name; use it directly as a property instead.

threading.Thread.setDaemon()

setDaemon() Old getter/setter API for daemon; use it directly as a property instead.

threading.Thread.run()

run() Method representing the thread’s activity. You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

threading.Timer

class threading.Timer(interval, function, args=None, kwargs=None) Create a timer that will run function with arguments args and keyword arguments kwargs, after interval seconds have passed. If args is None (the default) then an empty list will be used. If kwargs is None (the default) then an empty dict will be used. Changed in version 3.3: changed from a factory function to a class. cancel() Stop the timer, and cancel the execution of the timer’s action. This will only work if the timer