| Home | Trees | Indices | Help |
|---|
|
|
Support for the Notebook (introspection and setup) AUTHOR: * William Stein (much of this code is from IPython).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
EMBEDDED_MODE = False
|
|||
sage_globals =
|
|||
globals_at_init =
|
|||
global_names_at_init =
|
|||
|
|||
Display help on s.
NOTE: This a wrapper around the builtin help. If formats the
output as HTML without word wrap, which looks better in the
notebook.
INPUT:
s -- Python object, module, etc.
OUTPUT:
prints out help about s; it's often more more extensive than foo?
TESTS:
sage: import numpy.linalg
sage: sage.server.support.help(numpy.linalg.norm)
<html><table notracebacks bgcolor="#386074" cellpadding=10 cellspacing=10><tr><td bgcolor="#f5f5f5"><font color="#37546d">
<a target='_new' href='cell://docs-....html'>Click to open help window</a>
<br></font></tr></td></table></html>
|
Format \var{obj_name}'s docstring for printing in \sage notebook.
AUTHOR:
-- William Stein (but partly taken from IPython for use in \sage).
-- Extensions by Nick Alexander
|
Format obj's source code for printing in \sage notebook.
AUTHOR:
-- William Stein (but partly taken from IPython for use in \sage).
-- Extensions by Nick Alexander
|
INPUT:
filename -- name of a file that contains cython code
OUTPUT:
module -- the module that contains the compiled cython code.
Raises an \exception{ImportError} exception if anything goes wrong.
|
INPUT:
filename -- name of a file that contains cython code
OUTPUT:
changes globals using the attributes of the Cython module
that do not begin with an underscore.
Raises an \exception{ImportError} exception if anything goes wrong.
|
|
|||
sage_globals
|
globals_at_init
|
global_names_at_init
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 17 04:23:29 2008 | http://epydoc.sourceforge.net |