Skip to main content

cwd_in_path

Context adding the current working directory to sys.path.

def cwd_in_path() - > Generator

Context adding the current working directory to sys.path.

Returns

TypeDescription
GeneratorYields the current working directory path string if it was successfully added to sys.path, otherwise yields None.