fixpath
- package: https://pypi.org/project/fixpath/
docs(see source)- source: https://github.com/utility-libraries/fixpath-py
Library README scraped 2024-03-11
FixPath.py
fix incorrect user-path-inputs
Installation
pip install fixpath
Usage
python
from fixpath import findpath
path = input("Enter path: ")
# path = 'scr/fipath'
path = findpath(path)
# path = 'src/fixpath'
findpath('REAMDE.md')
->README.md
findpath('LIECNSE')
->LICENSE
Comment
tested in windows but should also work under linux