[sage-support] Re: Got sagenb running, need help

2014-07-21 Thread LBerlioz
I agree that using the notebook is probably a bad idea. Have you tried using sage's -c flag? according to the command line help "-c-- Evaluates cmd as sage code". In addition if you are using python you could use the subprocess module. I'm thinking something like: check_output(['/SAGEPAT

[sage-support] Re: Got sagenb running, need help

2014-07-21 Thread Nils Bruin
On Monday, July 21, 2014 8:56:14 AM UTC-7, Jole Bradbury wrote: > > Could you push me in the right direction? Would Django be a good tool to > accomplish this with? > Your top-post makes it a little difficult to determine what "with" is. Do you mean "communicating with a notebook server"? In tha

[sage-support] Re: Got sagenb running, need help

2014-07-21 Thread Jole Bradbury
Could you push me in the right direction? Would Django be a good tool to accomplish this with? On Tuesday, July 15, 2014 3:32:53 PM UTC-4, Nils Bruin wrote: > > On Tuesday, July 15, 2014 11:28:35 AM UTC-7, Jole Bradbury wrote: >> >> I can't. I've tried compiling sagecell using the instructions po

[sage-support] Re: Got sagenb running, need help

2014-07-15 Thread Nils Bruin
On Tuesday, July 15, 2014 11:28:35 AM UTC-7, Jole Bradbury wrote: > > I can't. I've tried compiling sagecell using the instructions posted > online and have gotten countless errors. It appears that it is because I am > running 10.9 not 10.6, but I cannot revert back to 10.6. > OSX 10.9 I presume

[sage-support] Re: Got sagenb running, need help

2014-07-15 Thread Jole Bradbury
I can't. I've tried compiling sagecell using the instructions posted online and have gotten countless errors. It appears that it is because I am running 10.9 not 10.6, but I cannot revert back to 10.6. On Monday, July 14, 2014 5:54:54 PM UTC-4, P Purkayastha wrote: > > You should look at sagecel

[sage-support] Re: Got sagenb running, need help

2014-07-14 Thread P Purkayastha
You should look at sagecell instead for this kind of thing: https://sagecell.sagemath.org/ https://github.com/sagemath/sagecell On Tuesday, July 15, 2014 4:12:14 AM UTC+8, Jole Bradbury wrote: > > I take it this is impossible? > > On Saturday, July 12, 2014 5:10:09 PM UTC-4, Jole Bradbury wrote:

[sage-support] Re: Got sagenb running, need help

2014-07-14 Thread Jole Bradbury
I take it this is impossible? On Saturday, July 12, 2014 5:10:09 PM UTC-4, Jole Bradbury wrote: > > Ran > > sage: import sagenb.notebook.notebook_object as nb > > sage: nb.notebook(directory="mynotebook") > > And got the server running, I can log in on localhost. > > > > My problem is that for th