0
0

More than 1 year has passed since last update.

デバッグ用:pretty_errors

Posted at
  • インストール
pip install pretty_errors
  • 使用
import pretty_errors
pretty_errors.configure(
  display_locals = True,
  filename_display = pretty_errors.FILENAME_EXTENDED,
)

display_localsは、局部変数を設定する、
filename_display は、ファイルの名を設定する、
他のこと(色など)も設定できる。

  • 全局セット
python -m pretty_errors
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0