123456789101112131415161718 |
- Dependencies required Linux:
- sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
- Dependencies required if installing from pip:
- First Run:
- sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
- Then run:
- pip3 install pycairo
- pip3 install PyGObject
- https://python-gtk-3-tutorial.readthedocs.io/en/latest/dialogs.html#filechooserdialog
- You can specify to choose a folder.
- https://python-gtk-3-tutorial.readthedocs.io/en/latest/index.html
- https://stackoverflow.com/questions/29979957/how-to-make-filename-path-from-gtk-python-3-4-filechooserdialog-accessible-gl
|