Simple to use looping mechanism to emulate the setInterval function in JavaScript
Project description
Package name: JSutils
Author: Jaime Loeuf
License: MIT
Package Desciption:
This package contains classes/functions that implements functions like the setInterval function from JavaScript.
- Currently this package contains the
‘setInterval’ class
- To call a function over and over again with a fixed interval:
>>> from JSutils import setInterval >>> >>> def HelloWorld(message): >>> print('Hello world') >>> print(message) # Print out / use the arguement. >>> >>> setInterval(5, HelloWorld)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
JSutils-0.2.tar.gz
(5.1 kB
view hashes)