[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 sag

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

2014-07-15 Thread Jole Bradbury
u 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,

[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 localho

[sage-support] Got sagenb running, need help

2014-07-12 Thread Jole Bradbury
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 the past few weeks all I've been trying to do is set up a server *where data can be sent and evaluated and sent back

Re: [sage-support] Re: Can't import sage into Python

2014-07-09 Thread Jole Bradbury
Then how do people set up sage servers? Should I use the notebook? On Wednesday, July 9, 2014 12:32:31 PM UTC-4, William wrote: > > > > > On Wed, Jul 9, 2014 at 8:28 AM, Jole Bradbury > wrote: > >> Aha, that does make sense... And yes the Django import failed. My PATH

[sage-support] Re: Can't import sage into Python

2014-07-09 Thread Jole Bradbury
Python, OR should I use sage notebook? On Wednesday, July 9, 2014 11:18:35 AM UTC-4, Nils Bruin wrote: > > On Tuesday, July 8, 2014 11:53:33 AM UTC-7, Jole Bradbury wrote: >> >> I have a Django project with >> views.py: >> >> #!/usr/bin/env sage -python >

[sage-support] Re: Can't import sage into Python

2014-07-08 Thread Jole Bradbury
Anyone?? On Tuesday, July 8, 2014 2:53:33 PM UTC-4, Jole Bradbury wrote: > > I have a Django project with > views.py: > > #!/usr/bin/env sage -python > > from django.shortcuts import render > from django.http import HttpResponse > import sys > from django.

[sage-support] Can't import sage into Python

2014-07-08 Thread Jole Bradbury
I have a Django project with views.py: #!/usr/bin/env sage -python from django.shortcuts import render from django.http import HttpResponse import sys from django.http import HttpRequest from django.template import RequestContext, loaders sys.path.append('/Users/Jole/Desktop/django_proj/mysite/s

Re: [sage-support] Re: Help with understanding and setting up Sage Cell Server

2014-07-03 Thread Jole Bradbury
Is SageMathCloud a better way to do this sever thing? Can you answer any of my other questions? On Thursday, July 3, 2014 1:59:50 AM UTC-4, William wrote: > > On Wed, Jul 2, 2014 at 10:43 PM, Nils Bruin > > wrote: > > On Wednesday, July 2, 2014 10:14:44 AM UTC-7, J

[sage-support] Help with understanding and setting up Sage Cell Server

2014-07-02 Thread Jole Bradbury
Hi all, I've done some work in Java, HTML, CSS, JavaScript, ActionScript 3.0 and recently Python. I have a project I'm working on where I'd like to set up a very simple Sage server, to function as follows: The server will receive Sage or Maxima code, execute the code, and send back the result.