2009/5/6 Nick Alexander <ncalexan...@gmail.com>: > >> So apparently it's: >> >> from sage.misc.latex import latex > > Just for the record, it's often easier to do: > > sage: latex.__module__ > 'sage.misc.latex'
That is very useful! I think I want to put sage: def whereis(thing): ....: return thing.__module__ ....: into my startup file, Then: sage: whereis(latex) 'sage.misc.latex' sage: whereis(xmrange) 'sage.misc.mrange' sage: whereis(gcd) 'sage.rings.arith' and similarly for all the other things whose whereabouts I always forget! John > > Nick > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---