David Roe wrote: > That's the plan. Though I'll have to ask around to figure out how to > determine if _repr_ is being called from the notebook or iPython. > David
There is a variable EMBEDDED_MODE that you need to check. Grep the source for EMBEDDED_MODE to see how it is used. Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---