Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ echo
Function
echo
recipes/Python/578188_Pants/recipe-578188.py:7–8 ·
view source on GitHub ↗
(string, newline=False)
Source
from the content-addressed store, hash-verified
5
p, a = (sys.argv + [None])[:2]
6
7
def
echo(string, newline=False):
8
sys.stdout.write(string + (newline and
'\n'
or
''
))
9
10
def
start():
11
echo(
"Putting on pants ..."
, True)
Callers
6
start
Function · 0.70
stop
Function · 0.70
restart
Function · 0.70
status
Function · 0.70
recipe-578188.py
File · 0.70
recipe-580750.py
File · 0.50
Calls
1
write
Method · 0.45
Tested by
no test coverage detected