On Thursday 12 January 2006 4:55 pm, Edward C. Jones wrote: > Do any of the Python GUIs have a super-high-level widget that displays a > directory tree? Most file managers or editors have this type of window.
Below is the dirview.py example from the soon-to-be-released PyQt4. Snapshots are available, including a GPL binary package for Windows for use with the GPL version of Qt. Phil import sys from PyQt4 import QtCore, QtGui app = QtGui.QApplication(sys.argv) model = QtGui.QDirModel() tree = QtGui.QTreeView() tree.setModel(model) tree.setWindowTitle(tree.tr("Dir View")) tree.resize(640, 480) tree.show() sys.exit(app.exec_()) -- http://mail.python.org/mailman/listinfo/python-list