Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Automatically attach file on starting shell?

Is there a way to run sage and have sage automatically run a command (such as attaching a file)? I do not want to put the attach command in the init.sage file, because I only want sage to attach my code when I am working on my project, not for general use.

Perhaps another way of thinking about is how can I run a sage script, and have it exit into an interactive shell? Then I would be able to run sage mycode.sage, and have the desired behavior.

Thank you.

Automatically attach file on starting shell?

Is there a way to run sage from command line and have sage automatically run a command (such as attaching a file)? I do not want to put the attach command in the init.sage file, because I only want sage to attach my code when I am working on my project, not for general use.

Perhaps another way of thinking about is how can I run a sage script, and have it exit into an interactive shell? Then I would be able to run sage mycode.sage, and have the desired behavior.

Thank you.

Automatically attach file on starting shell?

Is there a way to run sage from command line and have sage automatically run a command (such as attaching a file)? I do not want to put the attach command in the init.sage file, because I only want sage to only attach my code when I am working on my project, not for general use.

Perhaps another way of thinking about is how can I run a sage script, and have it exit into an interactive shell? Then I would be able to run sage mycode.sage, and have the desired behavior.

Thank you.