On Tue, 18 May 2021, 10:38 Hongyi Zhao, <[email protected]> wrote:

>
>
> On Tuesday, May 18, 2021 at 2:52:04 PM UTC+8 [email protected] wrote:
>
>> You can just load sage in ipython:
>>
>> ./sage --ipython
>>
>> and at ipython prompt do
>>
>> from sage.all import *
>>
>
> Really, it does the trick.
>
>
>>
>> (note this does not load sage's preparser, i.e. you won't be able to use
>> ^ instead of **, etc)
>>
>
> Thank you. When using the `--ipython` option to call sage, can I still
> have the magical function of the sage at the same time?
>

all what sage --ipython does is running a iPython which has sage modules
available.

some Sage magic is actually iPython, afaik.

>
> Regards,
> HY
>
>
>>
>> On Tue, 18 May 2021, 06:27 Hongyi Zhao, <[email protected]> wrote:
>>
>>>
>>> I want to obtain the similar behavior in sage for pretty printing as in
>>> ipython. Any hints will be highly appreciated.
>>>
>>> Regards,
>>> HY
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" 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-support/99bb367f-7564-4736-804c-5d942b1f1773n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-support/99bb367f-7564-4736-804c-5d942b1f1773n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" 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-support/7c3b1bad-afd2-4da0-9748-c6c9dc710204n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/7c3b1bad-afd2-4da0-9748-c6c9dc710204n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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-support/CAAWYfq1KPVr3NYc%2Be-Tzk7br7R-Ybo-McGmqgBu7_eSpiGcMSg%40mail.gmail.com.

Reply via email to