I'm trying the simple pyrex examples in the programming guide from
sections "5.2.4 A simple loop example: Sum of squares" and "5.2.5
Example: 2 Power" and I'm receiving syntax errors when inputting the
{{{%pyrex...}}} data into the worksheet. Any ideas? What am I doing
wrong?
sage: {{{
...: %pyrex
...: two = int(2)
------------------------------------------------------------
File "<ipython console>", line 3
two = int(Integer(2))
^
<type 'exceptions.SyntaxError'>: invalid syntax
--~--~---------~--~----~------------~-------~--~----~
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-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---