A small debug printing module that prints extra info like filenames, function names, and line numbers.
Project description
PrintDebug
==========
A small debug printing module that prints extra info like filenames,
function names, and line numbers.
More useful stuff may be added in the future.
Example Usage:
--------------
from printdebug import printdebug
def myfunction():
printdebug('Hello from myfunction.')
myfunction()
# Output: myfile.py line #3 in myfunction: Hello from myfunction.
==========
A small debug printing module that prints extra info like filenames,
function names, and line numbers.
More useful stuff may be added in the future.
Example Usage:
--------------
from printdebug import printdebug
def myfunction():
printdebug('Hello from myfunction.')
myfunction()
# Output: myfile.py line #3 in myfunction: Hello from myfunction.
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
PrintDebug-0.0.2.tar.gz
(14.7 kB
view details)
File details
Details for the file PrintDebug-0.0.2.tar.gz
.
File metadata
- Download URL: PrintDebug-0.0.2.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c4a608695ffe115ef63d2b23b1ea4d4deadd49ddef542d8c785266b88b69b14 |
|
MD5 | f14f57f3cfd14aea744c3b70faaca461 |
|
BLAKE2b-256 | 2f6ec3b5d3d43fa5f765c7901e353ae4fdf6ec75dd51b9ad31fe42aa7ec7ed6f |