Skip to main content

Call function with parameters

Project description

Call function with parameters
-----------------------------

You can do:

format(3.1415926, '.2f')

But you can not do:

parameters = (3.1415926, '.2f')
format(parameters)

With callwith, you can do similar thing:

from callwith import CallWith as _

parameters = _(args, **kwargs)
parameters(format)

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

callwith-0.0.2.zip (1.9 kB view hashes)

Uploaded source

Built Distribution

callwith-0.0.2.win-amd64.exe (225.6 kB view hashes)

Uploaded any

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