On this page
  1. posix.getcwdb
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

posix.getcwdb

Prev: posix.getcwd | Up: posix | Next: posix.getegid
Rel: posix.abort, posix.access, posix.chdir, posix.chflags
Ref: docs.python.org — posix.getcwdb
Tags: #public #python3 #stdlib #posix


Import

import posix
from posix import getcwdb

Signature & Overview

posix.getcwdb()

Return a bytes string representing the current working directory.

Usage

import os

assert isinstance(os.getcwdb(), bytes)

Gotchas

REPL Inspect

from posix import getcwdb
help(getcwdb)

Linked from

Related notes