Simple to use functions to emulate native functions like setInterval 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.
- This package currently does not have any external dependencies, written only with py std. lib
- 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.1.tar.gz
(5.5 kB
view hashes)