[Sugar-devel] Help Request - Python Timer

Bert Freudenberg bert at freudenbergs.de
Wed Jan 26 08:54:50 EST 2011


On 26.01.2011, at 02:58, Art Hunkins wrote:

> I'd like help to create a timer in my activity.
> 
> from timeit import Timer

The timeit module is for measuring execution time of a code snippet, not for delayed execution:

http://docs.python.org/library/timeit.html

See the other replies for an alternative.

- Bert -



More information about the Sugar-devel mailing list