Skip to main content

A package to search error in python code

Project description

This project is for people who new to python and cannot understand what's wrong with their code,

if your code raise an Exception, the code will automatically search for a fix on google and print a link on the terminal

Installation

pip install googlesearcherror

Usage

put this code at the top of your code

from googlesearcherror import googlesearcherror
googlesearcherror.searcherror()

Example:

Input:

from googlesearcherror import googlesearcherror
googlesearcherror.searcherror()

print(0/0)

Output:

 File "test.py", line 4, in <module>
    print(0/0)
ZeroDivisionError: division by zero

-->  https://www.google.com/search?q=python+ZeroDivisionError++division+by+zero+site:stackoverflow.com

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

googlesearcherror-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googlesearcherror-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file googlesearcherror-0.0.2.tar.gz.

File metadata

  • Download URL: googlesearcherror-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for googlesearcherror-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f1ff7b0c3626d2c5f5224341d5e994bea09b12601b60f8edecbbca10a913d15c
MD5 f714ccb2680b961e6de59a82d76e7c7e
BLAKE2b-256 88b9992d2ce1c1bb6e6bf0aa3ec2924407be5b317d853681f464538040d8b889

See more details on using hashes here.

File details

Details for the file googlesearcherror-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for googlesearcherror-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bafec6e60221649692ec54e8e4aecdc77a7169351ff8843845882d4717f5a543
MD5 bcaa0cb01d17c83fc73ceb25acad04e3
BLAKE2b-256 e8d5aec0e75aecb5d345cf49a5dd5f51f720436ff0f1cbf994a260320f3c93be

See more details on using hashes here.

Supported by

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