Get selected files from macOS Finder.
Project description
findersel
Get selected files from macOS Finder and use them programatically within your Python program.
Installation
$ pip install findersel
Usage
Select some files on Finder:
And get the selected files:
>>> import findersel
>>> list(findersel.get_selected_files())
['/Users/sdelquin/findersel/LICENSE',
'/Users/sdelquin/findersel/Makefile',
'/Users/sdelquin/findersel/README.md',
'/Users/sdelquin/findersel/requirements.txt',
'/Users/sdelquin/findersel/setup.cfg',
'/Users/sdelquin/findersel/setup.py']
Note than the function returns a generator.
Changelog
0.1.2 | 20/06/2021 |
---|
- Get rid of prettyconf external dependency.
0.1.1 | 20/06/2021 |
---|
- Add documentation.
- Fix bug when no files are selected.
0.1.0 | 20/06/2021 |
---|
- Add initial code.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
findersel-0.1.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for findersel-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d9123e0953546042a5e3daac0321fb47446fe8af70bebed42b54aaccd3fb69 |
|
MD5 | bb35da4ab1389a847b4dcd3d0c798422 |
|
BLAKE2b-256 | 5fc4aeb7df05cd938685d8523f1471757aadd4306c388a40915416c9d14c7018 |