Extension packages / The os package |
Provides an interface to manipulate files and directories.
The os.Path class provides functions to manipulate files and directories on the machine where the program executes.
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.