Skip to content

fixpath ​

PyPI-Version


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