🔵 🔵 🔵


Primary

၊၊||၊|။

glob.iglob() ⚬|Documentation|1st|20251021151355-00-⌔

glob — Unix style pathname pattern expansion — Python 3 documentation#glob.iglob

glob.iglob(pathname, ﹡, root_dir=None, dir_fd=None, recursive=False, include_hidden=False)

Return an iterator which yields the same values as glob() without actually storing them all simultaneously.

Raises an auditing event glob.glob with arguments pathname, recursive.

Raises an auditing event glob.glob/2 with arguments pathname, recursive, root_dir, dir_fd.

Note: This function may return duplicate path names if pathname contains multiple “﹡﹡” patterns and recursive is true.

Note: Any OSError exceptions raised from scanning the filesystem are suppressed. This includes PermissionError when accessing directories without read permission.

Changed in version 3.5: Support for recursive globs using “﹡﹡”.

Changed in version 3.10: Added the root_dir and dir_fd parameters.

Changed in version 3.11: Added the include_hidden parameter.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •