☰
Debian Codegraph
@
2.1.2-1
/
/
doc
/
example
/
servefiles.py
☽
☼
doc/example/servefiles.py
code
plain
raw
symbols
SCIP
Expat
2009-2016 Holger Krekel <
[email protected]
>
debian/copyright
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]