##// END OF EJS Templates
Fix completion tuple (#14594)...
Fix completion tuple (#14594) In progress work toward #14585 guarded eval strip leading characters until it find soemthing, this is problematic as `(1, x`, becomes valid after 1 char strip: `1, x` is a tuple; So now we trim until it is valid an not a tuple. This is still imperfect as things like `(1, a[" "].y` will be trimmed to `y`, while it should stop with `a[" "].y` ? I think maybe we should back-propagate; build back up from `y`, to `a[" "].y`, greedily until we get the last valid expression – skipping any unbalanced parentheses/quotes if we encounter imblanced.

File last commit:

r26726:72a79cb1
r28978:9cdf92d3 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