projects
/
profile
/
ivi
/
python-twisted.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import to Tizen
[profile/ivi/python-twisted.git]
/
twisted
/
test
/
process_echoer.py
1
"""Write back all data it receives."""
2
3
import sys
4
5
data = sys.stdin.read(1)
6
while data:
7
sys.stdout.write(data)
8
sys.stdout.flush()
9
data = sys.stdin.read(1)
10
sys.stderr.write("byebye")
11
sys.stderr.flush()