The os Module

Download python eBook

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)

Related Examples

Stats

58 Contributors: 5
Thursday, March 16, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook