path - File system related utilities

filesystem related utilities.

class CurrentDirectory(path)[source]

A context manager that allows changing the current directory temporarily.


Set the current directory to path.


Return the current directory.


Remove a directory more stubbornly than shutil.rmtree().

Required on filesystems that do not allow removal of non-writable files