On Mon, Jun 4, 2012 at 11:45 PM, Tom Bachmann <[email protected]> wrote: > On 04.06.2012 21:36, Joachim Durchholz wrote: >> >> Am 04.06.2012 21:40, schrieb Sergiu Ivanov: >>> >>> This corresponds to my known experience; I just >>> hoped that there existed a general solution within IPython. >> >> >> Oh. I totally missed that your question was aimed at IPython. >> In that case, I simply don't know. >> > > I don't think a printing solution tied to ipython would be acceptable in the > current sympy setup. [Mainly because sympy strives to be pure-python, in > principle.]
That's a good reminder, thank you. I've just got too used to using isympy. > What about rolling our own platform-aware escape sequences? The only printer > I would think needs boldface is "pretty", and there we deal with various > available unicode characters etc already. So it would seem a sensible place > to add more platform-dependent stuff. That sounds quite reasonable, if a use-case is brought about which is not already addressed by what Stefan said. The poor man's solution would be to stuff in the control sequences which work in the majority of Linux terminals and just do nothing when a different type of terminal is detected. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" group. 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/sympy?hl=en.
