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 hashes)