On Wednesday, February 9, 2011 11:30:35 PM UTC+1, akm wrote:
>
> ./sage -c "notebook(adminpassword='topsecret', 
> hostname='bob.example.com', interface='')"
>

All options of the notebook command inside Sage are exposed on the 
commandline via the "-notebook" switch. Besides that, you can write a python 
file and execute that via sage, too. I think you just have to import the 
notebook module and start the function "notebook" (i.e., just what there is 
exposed when you call notebook() inside sage)

e.g.
$ sage -notebook secure=True
ends up as
notebook(secure=True)
in the ipython interpreter.

H

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