Sign in
skia
/
buildbot
/
3fca5ead250eb8b0ee8ad30af13e01e8661eb4fe
/
.
/
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
)