Hello,

On Tue, Jan 20, 2009 at 2:17 PM, David Møller Hansen
<da...@mollerhansen.com> wrote:
> I ran sage -br and it seemed to discover the changed file and build
> a .pyc from it (I guess) but when I tried to run the function from
> sage it wasn't there.

Could you be more specific about the function you wrote and how you
tried to access it?

My guess would be that you defined a global function in
"ell_point.py".  Sage doesn't automatically raise these functions to
the global namespace so that you can call them from the initial Sage
prompt.  To raise a function to the global namespace, import your
function into sage/schemes/elliptic_curves/all.py and the Sage
machinery will do the rest of the work to put it in the global
namespace.

Or, you could do "from sage.schemes.elliptic_curves.ell_point import
my_function".

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to