path.absolute()
Produces an absolute normalized path.
Signature
path.absolute(value[, style])
Parameters
Text path and optional style.
Returns
String.
Behavior
Uses the current directory for a relative path in host style.
Errors
No permitted working directory, style mismatch without absolute input, or invalid path.
Example
use path
print(path.absolute('.'))