Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- import select , sys
- def lecture():
- input=select.select([sys.stdin],[],[],1)[0]
- if input:
- return sys.stdin.readline().rstrip()# resultado
- return ""
- while True:
- print (lecture())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement