See if code running in notebook?
Is it possible for code to check if it's being run from the Notebook or from the Interactive Shell? (I want to format the output differently in the two cases.)
Asked: 2013-05-09 17:07:00 +0100
Seen: 795 times
Last updated: May 09 '13
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.