Skip to main content

A tool for python beginer to understand exception or error in Chinese. 一款帮助中国python初学者看懂错误的工具

Project description

一款帮助中国的python初学者看懂exception和error的工具

本工具的主要功能是对相应的错误给出中文提示

安装

pip install errorhelper

使用

在您的代码上面加入如下的代码

import errorhelper

注意事项

由于编译器会对代码进行预编译,所以未能捕捉 compile 时候发生的错误,比如空格出错或者语法出错,如果您需要相关的全面检测,可以考虑 pylint

可能会有的功能

为了弥补不能捕捉编译错误的缺陷,将来可能会加上代码扫描功能,不过使用上可能就没那么方便了,必须以您的代码作为输入参数,在cmd中运行工具脚本

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

errorhelper-0.1.6.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file errorhelper-0.1.6.tar.gz.

File metadata

  • Download URL: errorhelper-0.1.6.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for errorhelper-0.1.6.tar.gz
Algorithm Hash digest
SHA256 791b91a11443f4a31615bd783fd701e1eee86eaba4c6589f1e012ceef10e9317
MD5 574b52f3205656a767392ce7f1654ad7
BLAKE2b-256 871a8f168e461a84e25b1f75f095e890cfa10d36054010b6629c34496d3f5a5c

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