Paul Rubin writes:
> from functools import partial
> do(partial(step1, param = None))
Or more directly:
do(lambda: step1(param = None))
--
http://mail.python.org/mailman/listinfo/python-list
Olivier Scalbert writes:
> # We ask the framework to do some work.
> do(step1, param = None)
from functools import partial
do(partial(step1, param = None))
--
http://mail.python.org/mailman/listinfo/python-list
> Hi all !
>
> I have a problem that is not easy to explained, so I have tried to
> reduce it a lot.
>
> We are using a framework, that we can not modify.
>
> in framework.py:
> def do(something):
> '''
> Here we are in a framework that can not be modified ...
> It does a lot of things
On Wed, Dec 5, 2012 at 10:50 AM, Olivier Scalbert <
olivier.scalb...@algosyn.com> wrote:
> Hi all !
>
> I have a problem that is not easy to explained, so I have tried to reduce
> it a lot.
>
> We are using a framework, that we can not modify.
>
> in framework.py:
> def do(something):
>'''
>
On 12/05/2012 01:50 PM, Olivier Scalbert wrote:
> Hi all !
>
> I have a problem that is not easy to explained, so I have tried to
> reduce it a lot.
>
> We are using a framework, that we can not modify.
>
> in framework.py:
> def do(something):
>'''
>Here we are in a framework that can not
Hi all !
I have a problem that is not easy to explained, so I have tried to
reduce it a lot.
We are using a framework, that we can not modify.
in framework.py:
def do(something):
'''
Here we are in a framework that can not be modified ...
It does a lot of things
and finally:
'