Answer to Question #247084 in Python for PyQT_Rookie

Question #247084

PyQT

I created a button Upload. I hope to have the function of clicking on the button will direct me to selecting my file which contains of images, bulk of images and copy them into another specific folder named "Upload"


1
Expert's answer
2021-10-06T06:17:22-0400
def upload_csv(self):
    dialog = QtGui.QFileDialog()
    fname = dialog.getOpenFileName(None, "Import CSV", "", "CSV data files (*.csv)")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS