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