Debian Codegraph @

doc/example/servefiles.py

raw symbols SCIP
1 # content of servefiles.py
2
3
4 def servefiles(channel):
5 for fn in channel:
6 f = open(fn, "rb")
7 channel.send(f.read())
8 f.close()
9
10
11 if __name__ == "__channelexec__":
12 servefiles(channel) # type: ignore[name-defined]