On Thu, Nov 3, 2016 at 12:13 PM, kcrisman <[email protected]> wrote: > > >> >> Via that: >> >> --- >> %default_mode python >> --- >> > Thank you! That was what I was asking in the first place, but apparently > didn't convey that well. > > That should somehow be a dropdown thing just like in sagenb, since one might > imagine that (like in Jupyter?) one might often want to choose different > systems for an entire sheet.
It is in a dropdown menu. Of course we do want to improve those menus, e.g., have a submenu for each mode or some other way to easily know the available modes. However, a difference between SageMathCloud worksheets and sagenb/Jupyter is that everything is explicit. There is no hidden implicit state only accessible via menus, like in sagenb and jupyter. The only possible way to make the mode for the whole worksheet be python is to explicitly use "%default_mode python". >> Besides that, I didn't really understand what this thread was about. >> The only real odd thing I see is, that there is an additional newline >> before the %python when it is inserted. %python should be in the first >> line of the cell! >> > > But wherever you are in the cell it inserts there. I don't know if that is > a bug or user error, but at any rate that is what happens, I think. Things will work fine even if it there is a blank line before %python. William -- You received this message because you are subscribed to the Google Groups "sage-cloud" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMhU7rKjzDzQuyhkuktK6u9kEw3Ngio3hT0DmbNVQxCWUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
