Warning

Most of the documentation was written prior to version 0.5 and needs to be updated. This work has now started for version 0.7 and we aim to have it completed before version 0.8 is available.

Other repl

Most REPL handle tracebacks in their own ways. When that is the case, friendly cannot be “installed”. If you still wish to use friendly, you can start its console within a given REPL, using:

>>> from friendly import start_console
>>> start_console()

Future work

Todo

Determine if there would be interest in integrating friendly with ptpython. This might perhaps be done by monkey-patching _handle_exception or by having ptpython’s developer enable custom sys.excepthook.