Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fluentpython/example-code-2e
/ main
Function
main
02-array-seq/lispy/py3.10/lis.py:210–215 ·
view source on GitHub ↗
(args: list[str])
Source
from the content-addressed store, hash-verified
208
return
result
209
210
def
main(args: list[str]) -> None:
211
if
len(args) == 1:
212
with
open(args[0])
as
fp:
213
run(fp.read())
214
else
:
215
repl()
216
217
if
__name__ ==
'__main__'
:
218
import
sys
Callers
1
lis.py
File · 0.70
Calls
3
read
Method · 0.80
run
Function · 0.70
repl
Function · 0.70
Tested by
no test coverage detected