Capture the print function and add some output information to it for easy debugging
Project description
debug-print
Capture the print function and add some output information to it for easy debugging.
why?
Is there such a situation?
That you need to temporarily use print debugging in third-party packages or source code,
but you may forget where to add print when thinking or jumping back and forth.
Now you only need to install and import debug_print to let print output the file name and line number,
which is more convenient for debugging.
Install:
pip install debug-print2
Usage:
Just import the file to run.
import debug_print
debug_print.patch()
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 debug_print2-0.1.2.tar.gz.
File metadata
- Download URL: debug_print2-0.1.2.tar.gz
- Upload date:
- Size: 1.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.8.16 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bdc67d7d5e34867841d05048a79b6406c6e866f651b54f90955e3a885371121
|
|
| MD5 |
daaa1e97928f5801814dfd124cbee022
|
|
| BLAKE2b-256 |
d82de0987f753c2b96b495145dae64dd602ca5457bf6ee573bb9488f38cfcd9a
|
File details
Details for the file debug_print2-0.1.2-py3-none-any.whl.
File metadata
- Download URL: debug_print2-0.1.2-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.8.16 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01bf5ec038e0e981e3bbd8389f74daba007015b14f0a72c4cedefd0809153435
|
|
| MD5 |
a9f90ef8a4cc0aa5f411a7bcd1f1c225
|
|
| BLAKE2b-256 |
a844f956a2649d855f23321f98aea57cf18b6d77cd31629bd86138966cbc1c1a
|