test_java_applet

4753 days ago by takepwave

html('<APPLET CODE = "NotHelloWorldApplet.class" WIDTH = 300 HEIGHT = 300 ></APPLET>') 
       
scilab? 
       

File: /usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/interfaces/scilab.py

Type: <class 'sage.interfaces.scilab.Scilab'>

Definition: scilab(x, name=None)

Docstring:



    Interface to the Scilab interpreter.

    EXAMPLES:
        sage: a = scilab('[ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]')    # optional - scilab
        sage: b = scilab('[ 1; 3; 13]')                         # optional - scilab
        sage: c = a * b                                         # optional - scilab
        sage: print c                                           # optional - scilab
          30.
          122.
          505.

File: /usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/interfaces/scilab.py

Type: <class 'sage.interfaces.scilab.Scilab'>

Definition: scilab(x, name=None)

Docstring:



    Interface to the Scilab interpreter.

    EXAMPLES:
        sage: a = scilab('[ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]')    # optional - scilab
        sage: b = scilab('[ 1; 3; 13]')                         # optional - scilab
        sage: c = a * b                                         # optional - scilab
        sage: print c                                           # optional - scilab
          30.
          122.
          505.
html('<applet id="mathrider" code="org.mathrider.MathRider.class" width="800" height="650" codebase="http://sage.math.washington.edu/home/tkosan/mathrider/" archive="mathrider.jar"></applet>') 
       
print m 
       
Traceback (click to the left of this block for traceback)
...
NameError: name 'm' is not defined
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_16.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cHJpbnQgbQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpruTgmf/___code___.py", line 2, in <module>
    exec compile(u'print m
  File "", line 1, in <module>
    
NameError: name 'm' is not defined
html('<applet id="mathrider" code="Java2DemoApplet.class" width="695" height="525" codebase="http://sage.math.washington.edu/home/tkosan/mathrider/Java2D/" archive="Java2Demo.jar" MAYSCRIPT></applet>')