Re: quetion about "+=" and "runtime"

2005-08-03 Thread Robert Kern
[EMAIL PROTECTED] wrote: > 1.i have look " += " up,but i can't find it. http://docs.python.org/ref/augassign.html > is it ofthen used? Reasonably so. > 2.i saq a result like this in a web page: > > > $ time python permute2.py 56789 3 > Got 120 items. > Maximum at 87596 ,product 84000 > > rea

Re: quetion about "+=" and "runtime"

2005-08-03 Thread gagaguy
1.i have look " += " up,but i can't find it.is it ofthen used? 2.i saq a result like this in a web page: $ time python permute2.py 56789 3 Got 120 items. Maximum at 87596 ,product 84000 real0m0.057s user0m0.050s sys 0m0.000s $ time python permute3.py 56789 3 Got 120 items. Maximum a

Re: quetion about "+=" and "runtime"

2005-08-03 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 1.i saw "+=" in a program code,but i haven't see it before,neither can > i find it in a cook,who can tell me the usage of "python0" It probably is in the tutorial and certainly is in the reference manual. I don't understand "usage of

quetion about "+=" and "runtime"

2005-08-03 Thread gagaguy
1.i saw "+=" in a program code,but i haven't see it before,neither can i find it in a cook,who can tell me the usage of "python0" 2.how can i know how long does a program run? -- http://mail.python.org/mailman/listinfo/python-list

quetion about "+=" and "runtime"

2005-08-03 Thread gagaguy
1.i saw "+=" in a program code,but i haven't see it before,neither can i find it in a cook,who can tell me the usage of "python0" 2.how can i know how long does a program run? -- http://mail.python.org/mailman/listinfo/python-list