open_directory

file_system.open_directory()

A context manager that temporarily changes the current directory to a folder selected from a file picker. Yields picked directory or ‘None’ if no directory was selected.