path module
Join, split, and normalize filesystem paths.
Import it with 'use path'.
use path
print(path.extension('main.atom'))
atom
Requires libuv. Operations resolve path components lexically. They do not follow symlinks. Unless specified, style is the host style. Where accepted, style is the string unix or windows. Absolute resolution using the working directory requires process permission. Windows paths recognize drives and UNC roots. Text arguments reject embedded NUL.