Sign in
skia
/
buildbot
/
52ee3202dc30c31436ace53deafd40c73ba8cbd9
/
.
/
task_driver
/
examples
/
file_stream
/
write_logs.py
blob: c773d55f943c1cbfeb2d10b8c16b99a7465fb65a [
file
] [
log
] [
blame
]
#!/usr/bin/env python
from
__future__
import
print_function
import
sys
import
time
with
open
(
sys
.
argv
[
1
],
'w'
)
as
f
:
print
(
'Writing verbose logs to %s'
%
sys
.
argv
[
1
])
for
i
in
range
(
10
):
f
.
write
(
'%d\n'
%
i
)
f
.
flush
()
time
.
sleep
(
1
)