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


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 at 87596 ,product 84000

real0m0.040s
user0m0.030s 
sys 0m0.010s 

i wanna know how to call out this

-- 
http://mail.python.org/mailman/listinfo/python-list