Python LanguageThe os Module


Introduction

This module provides a portable way of using operating system dependent functionality.

Syntax

  • import os

Parameters

ParameterDetails
PathA path to a file. The path separator may be determined by os.path.sep.
ModeThe desired permission, in octal (e.g. 0700)