Skip to content

Instantly share code, notes, and snippets.

@apocalyptech
Created April 3, 2022 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apocalyptech/3dc7c08753ae16a54d36a7ba3d1aa707 to your computer and use it in GitHub Desktop.
Save apocalyptech/3dc7c08753ae16a54d36a7ba3d1aa707 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
from PyQt5 import QtWidgets
app = QtWidgets.QApplication([])
QtWidgets.QFileDialog.getOpenFileName(None,
"Open File",
".",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment