Skip to main content

Appends google/stackoverflow search links to unhandled exceptions

Project description

This package adds links to google and stackoverflow search results to the end of uncaught exceptions in Python. It should work with either Python 2 or 3.

To install:

pip install excoverflow

To use, simply import the package in any project file for which you want internet results pages printed after the exception.

import excoverflow

Unhandled exception output will be appended with links to google and stackoverflow search results for python, the exception type, and the exception message; e.g.

Traceback (most recent call last):
  File "", line 5, in <module>
    val = 5 / 0
ZeroDivisionError: division by zero

Inspired by this reddit post

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

excoverflow-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

excoverflow-0.1.0-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page