- Path
Pathlib example
examples/pathlib/path_lib.py
from pathlib import Path file = Path("python.json") print(file) print(file.__class__.__name__) # PosixPath
from pathlib import Path file = Path("python.json") print(file) print(file.__class__.__name__) # PosixPath