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 pysearcherror
Usage
put this code at the top of your code
import googlesearcherror
googlesearcherror.searcherror()
Example:
Input:
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
Close
Hashes for googlesearcherror-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebdac258f69affdede1186a38205bcdc858cd3427471b22c5a8f7d3d6cf3d863 |
|
MD5 | 85a6304b446047d44479011f39d08871 |
|
BLAKE2b-256 | e7dc2dc9607bfdea8f9fb0ecd843404d39a7c870071295c01f05ee95ed7cf962 |