This package help you to find path / files with your working package space
Project description
#Developer : Avik Das, ISB, HYD, Data Scientist
##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 the home directory from where you are running the file \n source_path : Pass the source path where you want to perform the action \n Optional : If you have nothing to pass it will get default current working 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
print(str(pathfinder.find_file(0,'','','','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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eef9ae6917b752444e685485a706a8f49485439bf186e8609e3b440a7327e171 |
|
MD5 | 27d75c8b28b18cd164fb322a3779aac3 |
|
BLAKE2b-256 | 6c9dfd9d816066e8f8ed46ea3a85d4a1423087ad49feb69359eccf8c0221bfe5 |
Hashes for pathfindwithinspace-0.0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87eff8d3aedf0452151e9a3d212f7b4961596baf613764882afea5fb6c3fd6c7 |
|
MD5 | 7b7cddcb06e0406e7192f894de4de336 |
|
BLAKE2b-256 | 1fd614b300751379d8331e5c657a9ae04ecc5dedb1f6aaa7b984f3a117aaacb5 |