Skip to main content

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 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pathfindwithinspace-0.0.0.6.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pathfindwithinspace-0.0.0.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pathfindwithinspace-0.0.0.6.tar.gz.

File metadata

  • Download URL: pathfindwithinspace-0.0.0.6.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pathfindwithinspace-0.0.0.6.tar.gz
Algorithm Hash digest
SHA256 806e317124b34893bb02b253aa64b37ee14a08fcabcdff198d51df97a5f2200d
MD5 a0af7091be63cbf5b64145415ddf17b4
BLAKE2b-256 7567327b06fa794d3b3c9517fa4d0f9bf69d94ba95ae576621124b3bb34353fd

See more details on using hashes here.

File details

Details for the file pathfindwithinspace-0.0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pathfindwithinspace-0.0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pathfindwithinspace-0.0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf905e473580bf2fc8b8016175285bab78501b5b0f4774e648bfbb4a4ea2646
MD5 1287267d88c20514f83970079c3578f9
BLAKE2b-256 0962b3be659ea96af9932d285c67e0fc0a53311dc2fc319f8fede3478041be3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page