Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 374 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 374 Bytes

FixPath.py

fix incorrect user-path-inputs

Installation

pip install fixpath

Usage

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