Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.py
File · 0.70
check
Function · 0.70
test
Function · 0.70
recipe-572205.py
File · 0.50
recipe-112546.py
File · 0.50
recipe-54352.py
File · 0.50
recipe-574436.py
File · 0.50
recipe-574437.py
File · 0.50
Calls
1
print
Function · 0.85
Tested by
no test coverage detected