pickuppath 0.1.1

Last updated:

0 purchases

pickuppath 0.1.1 Image
pickuppath 0.1.1 Images
Add to Cart

Description:

pickuppath 0.1.1

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/"))

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.