Prettifies Python exception output to make it legible.
Project description
PrettyErrors
Prettifies Python exception output to make it legible. To use simply put PrettyErrors.py in your project and
import PrettyErrors
Note you need to be running in a terminal capable of colour output in order to get colour output: in Windows this means powershell, cmder, etc.
If you want to configure the output then use PrettyErrors.configure()
. For example: ```python
import PrettyErrors
PrettyErrors.configure(seperator_character = '—', line_length = 54, filename_display = PrettyErrors.FilenameDisplayMode.FULL)
![Example](https://github.com/onelivesleft/PrettyErrors/blob/master/example.png)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pretty_errors-1.0.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for pretty_errors-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43732bae9ecda8faea7eceaad53bcdf73708f67a744934e7dedaaea17ce6364 |
|
MD5 | da5255293bf644887722caf8f0248419 |
|
BLAKE2b-256 | 157d8c2063905152c16306e5aa6efcade909997ec5399aad9cc36411ec10c80b |