I'm trying to profile my code using "prun" like the tutorial says.
However, I can't get it to work. For example a command like this:
%prun plot(x,0,2)
gives this error:
Syntax Error:
    %prun plot(x,0,2)
and this:
prun plot(x,0,2)
gives this error:
 line 4
    prun plot(x,_sage_const_0 ,_sage_const_2 )
            ^
SyntaxError: invalid syntax

I am running this in the notebook (sage 4.0.1), not the interactive
shell, is that a problem? Alternately is there something that I need
to import?

If either of these is the case, you may want to make the tutorial
section a bit clearer.
http://www.sagemath.org/doc/tutorial/programming.html#profiling

For the time being I can use hotshot, so this certainly isn't urgent.

Thanks,

Ethan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to