cProfile.py not found.

Robert Kern robert.kern at gmail.com
Sun Apr 5 01:15:36 CEST 2009


On 2009-04-04 18:08, John Yeung wrote:
> I believe cProfile was added in 2.5.  Your best bet on 2.4 is probably
> the profile module.  That is what the docs recommend.

Oops, I missed that piece of information. Alternately, the OP can install 
lsprof, which was cProfile's third-party incarnation before it got integrated 
into the stdlib:

   http://codespeak.net/svn/user/arigo/hack/misc/lsprof/

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list