Warning
This project is being split into 3 separate projects:
friendly_traceback
,friendly
, andfriendly_idle
.
The documentation does not reflect this change.
If you are a end-user, just install friendly
until further notice.
Google’s colab¶
One can also use Google Colab notebooks. However, the following should be noted:
friendly must be installed using
!pip install friendly
.As for Jupyter notebooks,
from friendly.jupyter import *
must be used.The colour support is not as good as is the case for Jupyter notebooks.
Here are some sample outputs:
There is also a dark theme available.
Unfortunately, the default gives rise to some unreadable content.
Switching to using the 'dark'
formatter does improve the situation.
Specifying a background colour helps to blend in the result.