Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- import sys
- from PyQt4 import QtGui, QtCore
- class Example(QtGui.QMainWindow):
- def __init__(self):
- super(Example, self).__init__()
- while True:
- files = QtGui.QFileDialog.getOpenFileNames()
- if not files: break
- print list(files)
- app = QtGui.QApplication(sys.argv)
- ex = Example()
- sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement