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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1ff7b0c3626d2c5f5224341d5e994bea09b12601b60f8edecbbca10a913d15c
|
|
| MD5 |
f714ccb2680b961e6de59a82d76e7c7e
|
|
| BLAKE2b-256 |
88b9992d2ce1c1bb6e6bf0aa3ec2924407be5b317d853681f464538040d8b889
|
File details
Details for the file googlesearcherror-0.0.2-py3-none-any.whl.
File metadata
- Download URL: googlesearcherror-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bafec6e60221649692ec54e8e4aecdc77a7169351ff8843845882d4717f5a543
|
|
| MD5 |
bcaa0cb01d17c83fc73ceb25acad04e3
|
|
| BLAKE2b-256 |
e8d5aec0e75aecb5d345cf49a5dd5f51f720436ff0f1cbf994a260320f3c93be
|