[IPython-User] How to check that a python script is called from ipython and check if qt is enabled

Thomas Kluyver takowl@gmail....
Wed Oct 24 10:35:50 CDT 2012


On 24 October 2012 15:51, Eleftherios Garyfallidis
<garyfallidis@gmail.com> wrote:
> Furthermore, I would like a general to know if there is a way to know which
> interpreter (ipython or python) executes the current script.

To be clear, IPython is not an interpreter: the code is still
interpreted by Python - which in most cases will be CPython. IPython
is a shell which runs on top of Python.

Thomas


More information about the IPython-User mailing list