On Jan 11, 10:21 am, "Steven W. Orr" <[EMAIL PROTECTED]> wrote:
> On Thursday, Jan 11th 2007 at 11:41 +0100, quoth robert:
>
> =>[EMAIL PROTECTED] wrote:=>> Hi,
> =>> Frequently I get to do like this:
> =>> a = (1, 2, 3, 4) # some dummy values
> =>> b = (4, 3, 2, 1)
> =>> import operator
> =>> c =
On Thu, 11 Jan 2007 06:06:39 -0800, [EMAIL PROTECTED] wrote:
>> [EMAIL PROTECTED] wrote:
>> > Hi,
>> > Frequently I get to do like this:
>> > a = (1, 2, 3, 4) # some dummy values
>> > b = (4, 3, 2, 1)
>> > import operator
>> > c = map(operator.add, a, b)
>> >
>> > I am finding the last line not v
On Thursday, Jan 11th 2007 at 11:41 +0100, quoth robert:
=>[EMAIL PROTECTED] wrote:
=>> Hi,
=>> Frequently I get to do like this:
=>> a = (1, 2, 3, 4) # some dummy values
=>> b = (4, 3, 2, 1)
=>> import operator
=>> c = map(operator.add, a, b)
=>>
=>> I am finding the last line not very readable
Paddy wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> > Frequently I get to do like this:
> > a = (1, 2, 3, 4) # some dummy values
> > b = (4, 3, 2, 1)
> > import operator
> > c = map(operator.add, a, b)
> >
> > I am finding the last line not very readable especially when I combine
> > couple of such
[EMAIL PROTECTED] wrote:
> Hi,
> Frequently I get to do like this:
> a = (1, 2, 3, 4) # some dummy values
> b = (4, 3, 2, 1)
> import operator
> c = map(operator.add, a, b)
>
> I am finding the last line not very readable especially when I combine
> couple of such operations into one line. Is it
[EMAIL PROTECTED] wrote:
> Hi,
> Frequently I get to do like this:
> a = (1, 2, 3, 4) # some dummy values
> b = (4, 3, 2, 1)
> import operator
> c = map(operator.add, a, b)
>
> I am finding the last line not very readable especially when I combine
> couple of such operations into one line. Is it
Hi,
Frequently I get to do like this:
a = (1, 2, 3, 4) # some dummy values
b = (4, 3, 2, 1)
import operator
c = map(operator.add, a, b)
I am finding the last line not very readable especially when I combine
couple of such operations into one line. Is it possible to overload
operators, so that, I