Skip to main content

Call function with parameters

Project description

Parameters call function, :-)
-----------------------------

You can do:

from __future__ import print_function

print('x', 'y', sep=',')

But I can not do:

from __future__ import print_function

parameters = ('x', 'y', sep=',')
print(parameters)

With icall, I can do similar thing:

from __future__ import print_function
from icall import ICall

parameters = ICall('x', 'y', sep=',')
parameters(print)

Sometimes, you may use Parameters(similar to ICall):

from __future__ import print_function
from icall import Parameters

parameters = Parameters('x', 'y', sep=',')
parameters(format)


Change Log
----------

0.3.0

- Rename package 'callwith' to 'icall'

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.2.0.zip (2.0 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