Hi, I can't find any documentation on the profile() function. But it might take a function reference as an argument and not the string you are feeding it. For instance:
profile(t.printworld) Note the difference between: t.printworld t.printworld() The latter executes the function and then replaces the function call with the return value of the function. -- http://mail.python.org/mailman/listinfo/python-list