Sign in
skia
/
buildbot
/
9fa0af1e2e8b126c7f9cf57472c11c7444d87b9d
/
.
/
task_driver
/
examples
/
file_stream
/
write_logs.py
blob: 323efb0aac40c657cfa6d43c22d88be5e91c0f6a [
file
] [
log
] [
blame
]
#!/usr/bin/env python
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
)