Atom

os.cwd()

Reads the working directory.

Signature

os.cwd()

Parameters

No parameters.

Returns

Path string.

Behavior

Reads the process-wide setting.

Errors

OS failure or invalid UTF-8.

Example

Atom
use os
print(os.cwd())