MCPcopy Create free account
hub / github.com/ActiveState/code / printf

Function printf

recipes/Python/577191_IP_and_MAC_addresses/recipe-577191.py:780–782  ·  view source on GitHub ↗
(fmt, *args)

Source from the content-addressed store, hash-verified

778 _argv0 = sys.argv[0] + ' '
779
780 def printf(fmt, *args):
781 # Formatted print.
782 print(_argv0 + fmt % args)
783
784 if sys.argv[-1] in ('-debug', '-d'):
785 _debugf = printf

Callers 8

recipe-577191.pyFile · 0.70
checkFunction · 0.70
testFunction · 0.70
recipe-572205.pyFile · 0.50
recipe-112546.pyFile · 0.50
recipe-54352.pyFile · 0.50
recipe-574436.pyFile · 0.50
recipe-574437.pyFile · 0.50

Calls 1

printFunction · 0.85

Tested by

no test coverage detected