paya.util.path#

Miscellaneous path utilities.

toPosix(path)#
Parameters

path – the path to process

Returns

The path, conformed to POSIX format.

Return type

str

toWin(path)#
Parameters

path – the path to process

Returns

The path, conformed to Windows format.

Return type

str

toOs(path)#
Parameters

path – the path to process

Returns

The path, conformed to Windows or POSIX format, depending on detected platform.

Return type

str