Home
Press ? for keyboard navigation
❮
Pathlib example
Pathlib get extension (suffix)
❯
cwd
Pathlib cwd
examples/pathlib/path_lib_cwd.py
from
pathlib
import
Path
cwd
=
Path
.
cwd
()
print
(
cwd
)
print
(
cwd
.
__class__
.
__name__
)
# PosixPath
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)