Python 3 Compatibility Module β€” Jupyter Documentation 4.1.1 alpha documentation (original) (raw)

Attention

This is copied verbatim from the old IPython wiki and is currently under development. Much of the information in this part of the development guide is out of date.

The IPython.utils.py3compat module provides a number of functions to make it easier to write code for Python 2 and 3. We also use 2to3 in the setup process to change syntax, and the io.open() function, which is essentially the built in open function from Python 3.

The names provided are:

Miscellaneous#