Skip to main content

Easy To Understand Python Error Message

Project description

etupem

Easy To Understand Python Error Message.

Currently, it is only available in Japanese.

Python のエラーメッセージを日本語で表示します。

Requirements

  • Python 3.8 or newer

Recommended

  • Python 3.10 or newer

Install

$ pip install etupem

Usage (for Japanese)

$ pythonja script.py

Example

For example, run the following script.

"123" + 456

Original python error message:

$ python type_error.py
Traceback (most recent call last):
  File "E:\scripts\type_error.py", line 1, in <module>
    "123" + 456
TypeError: can only concatenate str (not "int") to str

When using etupem

$ pythonja type_error.py
Traceback (most recent call last):
  File "E:\scripts\type_error.py", line 1, in <module>
    "123" + 456
TypeError: can only concatenate str (not "int") to str
上に表示されているのが本来のエラーメッセージです。エラーについて調べる場合は、上のエラーメッセージで検索して下さい。
【型に関するエラー(TypeError)】
ファイル「E:\scripts\type_error.py」の 1行目でエラーが発生しました。
    "123" + 456
文字列に 整数(int型)を結合することはできません。

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

etupem-0.3.0-py3-none-any.whl (8.6 kB view hashes)

Uploaded 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