Hi Mike,

On Sun, Dec 20, 2009 at 8:42 AM, Mike Witt <[email protected]> wrote:
> Is there a variable that will tell me whether I've been invoked by a
> notebook or via the command line?

sage: sage.plot.plot.EMBEDDED_MODE
False

The above variable will be True when running in the notebook, and
False when on the command-line.

--Mike

-- 
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/sage-support
URL: http://www.sagemath.org

Reply via email to