Dear all,
Is there a way to display a long expression in a way that can be
copied and pasted into a new cell in the worksheet or into another
worksheet? As in the example below, the output displayed in my browser
contains some line breaks that lead to an error message when pasted
into a new cell. Is there a way to avoid this? Currently, I have to
manually delete all added line breaks, which is a big hassle.
Cheers
Stan
{{{id=114|
automatic_names(True)
///
}}}
{{{id=113|
f = sum(x^n for n in range(20))
f
///
x^19 + x^18 + x^17 + x^16 + x^15 + x^14 + x^13 + x^12 + x^11 + x^10 +
x^9 + x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + x^2 + x + 1
}}}
{{{id=112|
g = x^19 + x^18 + x^17 + x^16 + x^15 + x^14 + x^13 + x^12 + x^11 +
x^10 +
x^9 + x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + x^2 + x + 1
///
Traceback (most recent call last):
...
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-support
URL: http://www.sagemath.org