Core

The core module provides a collection of low level constructs that have no dependencies on other nutils modules. Primarily for internal use.

nutils.core.open_in_outdir(file, *args, **kwargs)[source]

open a file relative to the outdirfd or outdir property

Wrapper around open() that opens a file relative to either the outdirfd property (if supported, see os.supports_dir_fd()) or outdir. Takes the same arguments as open().

nutils.core.listoutdir()[source]

list files in outdirfd or outdir property