##// END OF EJS Templates
Use environment variable to identify conda / mamba (#14515)...
Use environment variable to identify conda / mamba (#14515) Conda and mamba both set an environment variable which refers to the base environment's executable path, use that in preference to less reliable methods, but fall back on the other approaches if unable to locate the executable this way. Additionally, change the search to look for the bare command name rather than the command within the top level of the active environment, I'm dubious this approach works with any current conda / mamba version which usually place their executable links in a `condabin` directory or elsewhere not at the same level as the Python executable. I believe this will also address https://github.com/ipython/ipython/issues/14350, which I'm also seeing in a Windows context where the regex fails to parse and causes a traceback.

File last commit:

r26726:72a79cb1
r28871:d23bee0c merge
Show More
Index.ipynb
201 lines | 4.8 KiB | text/plain | TextLexer
No description has been provided for this image

Back to the main Index

IPython Kernel

IPython provides extensions to the Python programming language that make working interactively convenient and efficient. These extensions are implemented in the IPython Kernel and are available in all of the IPython Frontends (Notebook, Terminal, Console and Qt Console) when running this kernel.

Tutorials

  • [Cell Magics](Cell Magics.ipynb)
  • [Script Magics](Script Magics.ipynb)
  • [Rich Output](Rich Output.ipynb)
  • [Custom Display Logic](Custom Display Logic.ipynb)
  • [Plotting in the Notebook](Plotting in the Notebook.ipynb)
  • [Capturing Output](Capturing Output.ipynb)

Examples

  • [Background Jobs](Background Jobs.ipynb)
  • [Trapezoid Rule](Trapezoid Rule.ipynb)
  • SymPy
  • [Raw Input in the Notebook](Raw Input in the Notebook.ipynb)
  • [Importing Notebooks](Importing Notebooks.ipynb)

Non-notebook examples

This directory also contains examples that are regular Python (.py) files.

In [1]:
%run ../utils/list_pyfiles.ipy

There are also a set of examples that show how to integrate IPython with different GUI event loops:

In [2]:
%run ../utils/list_subdirs.ipy