☰
Debian Codegraph
@
0.36.0-5
/
/
doc
/
samples
/
tutorial_02.py
☽
☼
doc/samples/tutorial_02.py
code
plain
raw
symbols
SCIP
MIT/X11
(c) 2008-2011 Eduardo Naufel Schettino
debian/copyright
1
def
task_hello
():
2
"""hello py """
3
4
def
python_hello
(times, text, targets):
5
with
open
(targets[
0
],
"a"
)
as
output:
6
output.
write
(times * text)
7
8
return
{
'actions'
: [(python_hello, [
3
,
"py!
\n
"
])],
9
'targets'
: [
"hello.txt"
],
10
}