%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python3.8/test/test_asyncio/
Upload File :
Create Path :
Current File : //usr/local/lib/python3.8/test/test_asyncio/echo3.py

import os

if __name__ == '__main__':
    while True:
        buf = os.read(0, 1024)
        if not buf:
            break
        try:
            os.write(1, b'OUT:'+buf)
        except OSError as ex:
            os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))

Zerion Mini Shell 1.0