Differences between revisions 8 and 12 (spanning 4 versions)
Revision 8 as of 2006-10-09 22:32:57
Size: 1624
Editor: anonymous
Comment:
Revision 12 as of 2006-10-09 22:47:45
Size: 675
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe dmr/notebookwiki here. Copy cells from wiki-form window in sage worksheet and paste directly into wiki edit.
Line 5: Line 5:
{{{
code
code
///
}}}

################################################################################
# Worksheet: _scratch_
################################################################################
Line 17: Line 8:
{{{a = 5
{{{#!python
sage:
a = 5
Line 20: Line 13:
{{{a
# 5}}}

{{{sage.server.notebook.worksheet.Cell.worksheet.im_class.files_html()
# Traceback (most recent call last):
    sage.server.notebook.worksheet.Cell.worksheet.im_class.files_html()
# File "/home/dorian/sage/sage-1.4/local/lib/python2.5/", line 1, in <module>
# TypeError: unbound method files_html() must be called with Cell instance as first argument (got nothing instead)}}}

{{{_scratch___plain__
# Traceback (most recent call last):
    _scratch___plain__
# File "/home/dorian/sage/sage-1.4/local/lib/python2.5/", line 1, in <module>
# NameError: name '_scratch___plain__' is not defined}}}

################################################################################
# Wiki form worksheet: _scratch_
################################################################################



{{{sage: a = 5
}}}

{{{sage: a
{{{#!python
sage: a
Line 47: Line 17:
{{{sage: sage.server.notebook.worksheet.Cell.worksheet.im_class.files_html() {{{#!python
sage: sage.server.notebook.worksheet.Cell.worksheet.im_class.files_html()
Line 52: Line 23:
{{{sage: _scratch___plain__ {{{#!python
sage: _scratch___plain__
Line 57: Line 29:
{{{sage: for i in range(10): {{{#!python
sage: for i in range(10):
Line 70: Line 43:
{{{ {{{#!python

Copy cells from wiki-form window in sage worksheet and paste directly into wiki edit.

   1 sage: a = 5

   1 sage: a
   2 5

   1 sage: sage.server.notebook.worksheet.Cell.worksheet.im_class.files_html()
   2 Traceback (most recent call last):
   3 ...
   4 TypeError: unbound method files_html() must be called with Cell instance as first argument (got nothing instead)

   1 sage: _scratch___plain__
   2 Traceback (most recent call last):
   3 ...
   4 NameError: name '_scratch___plain__' is not defined

   1 sage: for i in range(10):
   2 ...    print i*i - 2
   3 -2
   4 -1
   5 2
   6 7
   7 14
   8 23
   9 34
  10 47
  11 62
  12 79

   1 

dmr/notebookwiki (last edited 2008-11-14 13:42:08 by anonymous)