28.10.2021 Views

Python Tutorial ( PDFDrive )

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXAMPLE: ........................................................................................... 224

The chdir() Method: ................................................................................ 224

TUTORIALS POINT

Simply Easy Learning

SYNTAX: .............................................................................................. 224

EXAMPLE: ........................................................................................... 224

The getcwd() Method: ............................................................................ 224

SYNTAX: .............................................................................................. 225

EXAMPLE: ........................................................................................... 225

The rmdir() Method: ............................................................................... 225

SYNTAX: .............................................................................................. 225

EXAMPLE: ........................................................................................... 225

File & Directory Related Methods: ......................................................... 225

File Object Methods ............................................................................... 225

Description ............................................................................................. 226

Syntax .................................................................................................... 226

Parameters ............................................................................................. 226

Return Value .......................................................................................... 227

Example ................................................................................................. 227

Description ............................................................................................. 227

Syntax .................................................................................................... 227

Parameters ............................................................................................. 227

Return Value .......................................................................................... 227

Example ................................................................................................. 227

Description ............................................................................................. 228

Syntax .................................................................................................... 228

Parameters ............................................................................................. 228

Return Value .......................................................................................... 228

Example ................................................................................................. 228

Description ............................................................................................. 229

Syntax .................................................................................................... 229

Parameters ............................................................................................. 229

Return Value .......................................................................................... 229

Example ................................................................................................. 229

Description ............................................................................................. 229

Syntax .................................................................................................... 229

Parameters ............................................................................................. 230

Return Value .......................................................................................... 230

Example ................................................................................................. 230

Description ............................................................................................. 230

Syntax .................................................................................................... 230

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!