Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sureshpandiyan1/py_classic_error
classic way to show python errors
https://github.com/sureshpandiyan1/py_classic_error
classic error error-log python python-error-handling python3 traceback types
Last synced: 5 days ago
JSON representation
classic way to show python errors
- Host: GitHub
- URL: https://github.com/sureshpandiyan1/py_classic_error
- Owner: sureshpandiyan1
- License: unlicense
- Created: 2022-12-11T09:17:06.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T09:38:38.000Z (about 2 years ago)
- Last Synced: 2023-08-05T14:12:51.386Z (over 1 year ago)
- Topics: classic, error, error-log, python, python-error-handling, python3, traceback, types
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# intro
py_classic_error is classic way to show errors for python users.
# why you need py_classic_error ?
- easy to use
- more readable error & compact
- show error code# you can install via pip
pip install py_classic_error
# example
from py_classic_error import py_classic_error
numbers = [1,2,3]try:
# now we're trying to access index doesn't contains in numbers list
print(numbers[8])
except:
py_classic_error()-------py_classic_error-------
errtype:
err: list index out of range
Path: "d:\weatherapp\ll.py"
=> 11 print(numbers[8])# License
The unlicense# Copyright
Suresh P @ 2022 | py_classic_error | Unlicense