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

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

Reply via email to