This package help you to find path / files with your working package space
Project description
#Developer : Avik Das
##Steps to run the package :
''' Note : This function will work for exclusively packages \n where you need to shift from one location \n to another location frequently for Logic needs. \n Function is not case-sensistive \n
sequence_no : Pass the number of steps you want to go back \n Start with : 0 which is just earlier directory \n target_path : Pass the absolute path / list of folders as a sequence you want to traverse as a list \n Example : For multiple folders --> ['folder1','folder2','folder3',....] \n For Single absolute path --> folder1/folder2/folder3/..... \n ( Optional : If you are finding something within just earlier directory ) \n file_name : Pass the exact file name or it will return all files as a list \n with extensions that you will pass as next parameter \n ( Optional : If you need to access exact file only ) \n extension : Pass the extension of the file you want to use \n ( Optional : If you only need to go to path ) \n Example : txt, py, png etc... '''
Ex :
from pathfindwithinspace import pathfinder
str(pathfinder.find_file(0,['pkglogger'],'','py')[0])
*Return the exception details as well *
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
Built Distribution
Hashes for pathfindwithinspace-0.0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c8e5df4a149db6ff87010e18ded526ac17baddcd60815ce94583a4b4c08509 |
|
MD5 | 0f18d18e694f3a17b3147f437d8ea94d |
|
BLAKE2b-256 | bc17e8acfd9bb1ae165d7d57a517cdad1fb3d4428b2430983e0c1f78315c3672 |
Hashes for pathfindwithinspace-0.0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fede4d560593d535485f3ac4893043f2f205f534e5bde63977371aa05c40d7d |
|
MD5 | 7f481cfd2330ca6e8968cedd510b06eb |
|
BLAKE2b-256 | cd313130a28c0881c11ac14ec2808e4f56b4da7ec220bdf71aa135eaeb793b32 |