mirror of
https://github.com/python/cpython.git
synced 2024-12-23 08:44:20 +08:00
9 lines
148 B
Python
9 lines
148 B
Python
import os
|
|
|
|
if __name__ == '__main__':
|
|
while True:
|
|
buf = os.read(0, 1024)
|
|
if not buf:
|
|
break
|
|
os.write(1, buf)
|