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.mdfindpath('LIECNSE')->LICENSE
Comment
tested in windows but should also work under linux
Metadata
Release files for fixpath 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fixpath-0.1.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fixpath-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / fixpath-0.1.0.tar.gz
| Download URL | fixpath-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
937846faf01c48de980af702ad8f694c3215869d64373b2d9c281aa0932ca5a0
|
|
BLAKE2b-256 checksum How to use checksums |
db38d1fc78edfe186dd000491655f34e6c80cc2068bd27676654ed4ec2384984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / fixpath-0.1.0-py3-none-any.whl
| Download URL | fixpath-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46a65701bbbb06b0d7a319ee2b67d901b8ac70cf7b6e48ea6c9893bacdf0c4da
|
|
BLAKE2b-256 checksum How to use checksums |
d8581bc67ce34596fb89967ed519732ad714b79a59c4e2e764a403c2a3fcdaad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|