프로그래밍/Python
PyQt 폴더 선택
꿈꾸는 사람_Anthony
2021. 5. 29. 18:09
반응형
file = str(QFileDialog.getExistingDirectory(self, "Select Directory"))
원문, 참고
https://stackoverflow.com/questions/4286036/how-to-have-a-directory-dialog
how to have a directory dialog
In PyQt, how does one display a file browser that shows and selects only directories (not files)? And how does one retrieve the name of the selected directory?
stackoverflow.com
반응형