def write(self, data, flags='w'):
        f = None
        try:
            f = open(self.abspath(), flags)
            f.write(data)
        finally:
            if f:
                f.close()
__init__(icon: QIcon, id: int, text: QString, parent: QListWidget)
dataset/ETHPy150Open cournape/Bento/bento/core/node.py/Node.write--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QDBConnectionListItem.__init__