Let me also add that there is no problem if the dropdown menu at the
top is set at sage (the default option).



On May 12, 4:31 pm, Rajeev <rajs2...@gmail.com> wrote:
> Hi,
>
> I am finding a very strange behavior in notebook. Evaluating
>
> a = 'hello'
>
> gives
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "_sage_input_12.py", line 4, in <module>
>     print _support_.syseval(python, ur\u0027\u0027\u0027a = \u0027hello
> \u0027\u0027\u0027\u0027, \u0027/home/rajeev/sage_notebook/
> sage_notebook.sagenb/home/admin/32/cells/25\u0027)
>   File "", line 1
>     print _support_.syseval(python, ur'''a = 'hello'''', '/home/rajeev/
> sage_notebook/sage_notebook.sagenb/home/admin/32/cells/25')
>
> ^
> SyntaxError: EOL while scanning string literal
>
> There is no problem when I use double quotes. I am using sage 4.2 and
> I have selected python from the dropdown menu at the top.
>
> Rajeev
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/sage-support
> URL:http://www.sagemath.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to