Some people use strings. Some people use Paths.
str
process_file("data/file.txt")
Path
process_file(Path("data/file.txt"))
So you write this:
@autopath() handles all of this and more for you.
Skpath
normalized slashes, resolved root, cross-platform compatible
str
"data/file.txt"
✓
1. Normalized through Skpath.rp to become cross-platform compatible. 2. Converts to best annotated type (Skpath > Path > str).
A pit of success.
With @autopath, you can't mess up path handling even if you tried.