Dave wrote: > I'm trying to profile a Python program using gprof,
I don't think you will learn anything meaningful about a Python program from gprof. Use the profiling tools in Python. http://docs.python.org/lib/profile.html -- http://mail.python.org/mailman/listinfo/python-list