2013/8/14 climb65
> Hello,
>
> here is a small basic question :
>
> Is it possible to have more than one constructor (__init__ function) in a
> class? For instance, to create an object with 2 different ways? If my
> memory is good, I think that with C++ it is possible.
>
> Thanks for your answer.
Hello,
You can pass an operator as an argument to your function.
See :
http://docs.python.org/library/operator.html
Regards,
-- Forwarded message --
From:
Date: 2012/5/24
Subject: Dynamic comparison operators
To: python-list@python.org
I would like to pass something like thi