On Thu, Oct 8, 2009 at 12:53 PM, Mariah <[email protected]> wrote:
>
> I have some Sage code that plots a graph.  When I paste
> this code into a cell of a Sage notebook and evaluate the
> cell, I get the graph I expect.
>
> Now instead of pasting the code into the cell, I want to
> somehow tell the Sage notebook to execute the Sage code
> that exists in a file.  Is this possible?  If so, I am not having any
> luck
> figuring how to do it from the Sage reference manual, or any
> of the tutorials on the Sage Help web page.
>
> Would a kind Sage guru please give me a hint?

In theory you should put the code in a file code something like

   foo.sage

then in sage type

   load foo.sage

William

--~--~---------~--~----~------------~-------~--~----~
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
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to