Package sage :: Package server :: Package notebook :: Module notebook
[hide private]
[frames] | no frames]

Module notebook

source code


The Sage Notebook object



Classes [hide private]
  Notebook
Functions [hide private]
 
load_notebook(dir, address=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a..., port=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a..., secure=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a...)
Load the notebook from the given directory, or create one in that directory if one isn't already there.
source code
 
make_path_relative(dir)
If easy, replace the absolute path \var{dir} by a relative one.
source code
 
clean_name(name) source code
 
sort_worksheet_list(v, sort, reverse)
INPUT: sort -- 'last_edited', 'owner', or 'name' reverse -- if True, reverse the order of the sort.
source code
Variables [hide private]
  SYSTEMS = ['sage', 'gap', 'gp', 'jsmath', 'html', 'latex', 'ma...
  SYSTEM_NAMES = ['sage', 'gap', 'gp', 'jsmath', 'html', 'latex'...
  JSMATH = True
  JQUERY = True
  JSMATH_IMAGE_FONTS = False
  vbar = '<span class="vbar"></span>'
  DOC_TIMEOUT = 120
  v = 'octave (optional)'
Function Details [hide private]

load_notebook(dir, address=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a..., port=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a..., secure=['4ti2-20061025', 'R-2.6.0', 'atlas-3.7.37', 'atlas-3.8.1', 'a...)

source code 

Load the notebook from the given directory, or create one in that directory
if one isn't already there.

INPUT:
    dir -- a string that defines a directory name
    address -- the address that the notebook server will listen on
    port -- the port the server listens on
    secure -- whether or not the notebook is secure


Variables Details [hide private]

SYSTEMS

Value:
['sage',
 'gap',
 'gp',
 'jsmath',
 'html',
 'latex',
 'maxima',
 'python',
...

SYSTEM_NAMES

Value:
['sage',
 'gap',
 'gp',
 'jsmath',
 'html',
 'latex',
 'maxima',
 'python',
...