##// END OF EJS Templates
support for unicode identifiers...
support for unicode identifiers This rewrites some of the regular expressions that are used to match Python identifiers, so that they are unicode compatible. In Python 3, identifiers can contain unicode characters as long as the first character is not numeric. Examples for the changes: • inputtransformer: ``` In [1]: π = 3.14 In [2]: π.is_integer? Object `is_integer` not found. ``` ---------- • namespace: ``` π.is_integ*? ``` or ``` In [1]: %psearch π.is_integ Python identifiers can only contain ascii characters. ``` ---------- • prefilter: ``` %autocall 1 φ = float get_ipython().prefilter("φ 3") # should be 'φ(3)', but returns 'φ 3' ``` ---------- • completerlib: If there is a file e.g. named `π.py` in the current directory, then ``` import IPython IPython.core.completerlib.module_list('.') # should contain module 'π' ```

File last commit:

r21637:d1ce07b2
r25595:d9c0e690
Show More
Index.ipynb
199 lines | 4.7 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