The os.Path class

The os.Path class provides functions to manipulate files and directories on the machine where the program executes.

This class is provided in the util C-Extension library; To use the os.Path extension, you must import the os package in your program:
IMPORT os

In order to manipulate files, this API give you access to low-level system functions. Pay attention to operating system specific conventions like path separators. Some functions are OS specific, like rwx() which works only on UNIX systems.