pickup path
Project description
pickup file path.
detail
The stragegy of finding file path, following below.
$ pwd
$HOME/vboxshare/venvs/work
$ pickuppath --debug .config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/venvs/work/.config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/venvs/.config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/.config.ini
DEBUG:pickuppath:check: $HOME/.config.ini
$HOME/.config.ini
if file path is not found, then, lookup ~/.config.ini.
as python function
from pickuppath import pickup_path
print(pickup_path("config.ini", current="~/venv/py/work/"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pickuppath-0.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pickuppath-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3a1daa7b702e721664d60bd081f0f946c9ca15eab96a2806845787fe6a0926 |
|
MD5 | cdd62b62739c7e47b6b700f946b817f6 |
|
BLAKE2b-256 | 37920fb1fae5b2fa473e861d84c9d83be9af948faa29f377cd3651facbde8361 |