On this page
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
- Bytes version of
os.getcwd()for raw POSIX path APIs.
REPL Inspect
from posix import getcwdb
help(getcwdb)
Linked from
Related notes
- tuts/python3/stdlib_module/posix/getcwd Linked here; links to this page; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/getegid Linked here; links to this page; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/posix/abort Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/access Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chdir Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chflags Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chmod shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chown shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chroot shared tags: #posix, #stdlib