cProfile.py not found.

Robert Kern robert.kern at gmail.com
Sun Apr 5 00:57:12 CEST 2009

On 2009-04-04 17:46, Rahul wrote:
> I need to profile a slow-running code. The problem is I cannot seem to find
> cProfile.py.
> Where can I get it? Is it not included in the normal distro? I tried
> googling it up and theres tons of info on how to use it but no links for
> where to download it from.
> I am using Python 2.4.4 (#3, Feb 17 2008, 15:06:10).
> I am aware this is kind of dated but some of our legacy codes insist on
> using that exact version.

What system are you on? Some Linux distributions put it into a separate package, 
like python-profile. The python.org Windows and Mac binaries should have it, though.

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