Re: [Tutor] Identity operator (basic types)

2007-02-09 Thread Christopher Lucas
On Feb 9, 2007, at 10:34 PM, Cecilia Alm wrote: > Why does the identity operator return "True" in the below cases, > that is when assigning the same value to basic variable types > (float, integer, string, bool..)? Are these rcopied by reference > (shallow)? If so why? > > >>> i = 10 > >>>

Re: [Tutor] get cpu time used by a python script

2007-02-06 Thread Christopher Lucas
ime for program = Clock Cycles for program x Clock > Cycle Time > > But i'm interested in the cpu cycles used purely for the python > app, regardless of what other processes may be running. > > kim > > > On Feb 6, 2007, at 8:20 PM, Christopher Lucas wrote: > &

Re: [Tutor] get cpu time used by a python script

2007-02-06 Thread Christopher Lucas
On Feb 6, 2007, at 9:37 PM, Kim Branson wrote: > > On Feb 6, 2007, at 8:20 PM, Christopher Lucas wrote: > >> >> On Feb 6, 2007, at 9:14 PM, Kim Branson wrote: >> >>> Hi >>> >>> whats the simplest cross platform way of getting the cpu time &

Re: [Tutor] get cpu time used by a python script

2007-02-06 Thread Christopher Lucas
On Feb 6, 2007, at 9:14 PM, Kim Branson wrote: > Hi > > whats the simplest cross platform way of getting the cpu time used by > a python script? > > Kim What do you mean by cpu time, Kim? -Chris ___ Tutor maillist - Tutor@python.org http://mail.pyth