Skip to main content

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
    1. ‘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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page