[IPython-User] query frontend?

mqk kuhlen@gmail....
Tue Apr 10 19:24:44 CDT 2012


Hi

Is there some way to find out from within a python module whether it is
being imported from a web notebook rather than from the command line?
Something akin to if __name__ == "__main__"?

Thanks,

Mike

--
View this message in context: http://python.6.n6.nabble.com/query-frontend-tp4790920p4790920.html
Sent from the IPython - User mailing list archive at Nabble.com.


More information about the IPython-User mailing list