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 run the file import at the very beginning.
import debug_print
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
debug_print2-0.1.1.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for debug_print2-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f892e83f6b2c8c54a19e0a2e8bea436c5f6441f8bc4aa5295d27bb341aecd0 |
|
MD5 | 5143ad72ff7f6d34b681cffbdbb3221f |
|
BLAKE2b-256 | 9b3bebd2bb1f4552b9d04f3da011b5f8b7c52597664d8cd63728955e396ed88e |