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.9/lis.py:200–205 ·
view source on GitHub ↗
(args: list[str])
Source
from the content-addressed store, hash-verified
198
return
result
199
200
def
main(args: list[str]) -> None:
201
if
len(args) == 1:
202
with
open(args[0])
as
fp:
203
run(fp.read())
204
else
:
205
repl()
206
207
if
__name__ ==
'__main__'
:
208
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