environment/lib/python2.7/site-packages/psutil/_psosx.py
def get_open_files(self):
        """Return files opened by process."""
        if self.pid == 0:
            return []
        files = []
        rawlist = _psutil_osx.get_process_open_files(self.pid)
        for path, fd in rawlist:
            if isfile_strict(path):
                ntuple = nt_openfile(path, fd)
                files.append(ntuple)
        return files
def get_open_files(self):
        if self.pid == 0:
            return []
        files = []
        rawlist = _psutil_osx.get_process_open_files(self.pid)
        for path, fd in rawlist:
            if isfile_strict(path):
                ntuple = nt_openfile(path, fd)
                files.append(ntuple)
        return files
def get_open_files ( self ) : if self . pid == 0 : return [ ] files = [ ] rawlist = _psutil_osx . get_process_open_files ( self . pid ) for path , fd in rawlist : if isfile_strict ( path ) : ntuple = nt_openfile ( path , fd ) files . append ( ntuple ) return files
Return files opened by process.
Return files opened by process .