def fopen(self, fname, mode="r", bufsize=-1):
        fo = PosixFile(fname, mode, bufsize)
        handle = fo.fileno()
        self._files[handle] = fo
        return handle
Opens a file object and returns a handle to it.
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/remote/PosixServer.py/PosixAgent.fopen