Skip to content

Instantly share code, notes, and snippets.

@JadianRadiator
JadianRadiator / PyQT-pseudo_open_files.py
Last active December 6, 2023 02:33
Pseudo file/folder dialogues for PyQt, for when you want to pass a file/folder path into a variable. I "made" these using https://chat.openai.com/chat
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QFileDialog, QPushButton, QVBoxLayout
class PseudoFileOpener(QWidget):
def __init__(self):
super().__init__()
self.selected_file_path = ""
self.init_ui()