Ask Your Question

sageuser1732's profile - activity

2018-11-23 16:58:39 -0500 received badge  Notable Question (source)
2018-11-23 16:58:39 -0500 received badge  Popular Question (source)
2018-06-30 20:32:12 -0500 received badge  Good Question (source)
2018-06-30 11:51:59 -0500 commented answer load('foo.sage') - Is it possible to display inputs and ouputs to the console?

I tried it, but it doesn't do what I was hoping for. Here are the issues . . .

(1) %load requires a string constant as a filename, but my actual filename is stored in a variable.

(2) The inputs are shown as a batch, but not executed until I interactively force the execution. I was hoping to for there to be a way for the load of the sage file to mimic an interactive session, with inputs followed by outputs, one command at a time.

Perhaps it's not possible?

2018-06-30 11:28:33 -0500 received badge  Nice Question (source)
2018-06-30 11:20:41 -0500 received badge  Supporter (source)
2018-06-30 11:20:37 -0500 received badge  Scholar (source)
2018-06-30 11:20:30 -0500 commented answer How can I change the sage console prompt?

Works perfectly! (I used the init.sage method.) Thank you very much!

2018-06-30 06:13:52 -0500 asked a question load('foo.sage') - Is it possible to display inputs and ouputs to the console?

The load command appears to operate "silently", except for commands that explicitly output to the console (such as print commands).

Is there a way to have inputs and outputs of the commands in the file being loaded to be displayed to the console as if they were entered interactively?

I'm running a console version of Sage 8.1 (binary install) in Windows 7.

2018-06-30 04:41:39 -0500 received badge  Student (source)
2018-06-30 02:32:50 -0500 received badge  Editor (source)
2018-06-30 02:28:56 -0500 asked a question How can I change the sage console prompt?

How can I change the sage console prompt from 'sage: ' to '>>> ' ?

I'm running Sage 8.1 (binary install) in Windows 7.

I assume I need to edit a configuration file, or perhaps it's controlled by an environmental variable.

If it's controlled by an environmental variable, which one, and what setting?

If it needs a configuration file edit, which file, where is the file located, and what edit is needed?

Thanks in advance.