fileutils

This module provides general utilities for working with the file system

this_file([stack_offset])

Returns the file name for the module that calls this function.

this_file_dir([stack_offset])

Returns the directory containing the module that calls this function.

find_path(name, validate[, cwd, mode, ext, ...])

Locate a path, given a set of search parameters

find_file(filename[, cwd, mode, ext, ...])

Locate a file, given a set of search parameters

find_dir(dirname[, cwd, mode, pathlist, ...])

Locate a directory, given a set of search parameters

find_library(libname[, cwd, include_PATH, ...])

Find a dynamic library using find_file to search typical locations.

find_executable(exename[, cwd, ...])

Find an executable using find_file to search typical locations.

import_file(path[, clear_cache, ...])

Import a module given the full path/filename of the file.

PathManager(finder, dataClass)

The PathManager defines a registry class for path locations

PathData(manager, name)

An object for storing and managing a PathManager path

Classes

ExecutableData(manager, name)

A PathData class specifically for executables.

PathData(manager, name)

An object for storing and managing a PathManager path

PathManager(finder, dataClass)

The PathManager defines a registry class for path locations

Functions

find_dir(dirname[, cwd, mode, pathlist, ...])

Locate a directory, given a set of search parameters

find_executable(exename[, cwd, ...])

Find an executable using find_file to search typical locations.

find_file(filename[, cwd, mode, ext, ...])

Locate a file, given a set of search parameters

find_library(libname[, cwd, include_PATH, ...])

Find a dynamic library using find_file to search typical locations.

find_path(name, validate[, cwd, mode, ext, ...])

Locate a path, given a set of search parameters

import_file(path[, clear_cache, ...])

Import a module given the full path/filename of the file.

register_executable(name[, validate])

DEPRECATED.

registered_executable(name)

DEPRECATED.

this_file([stack_offset])

Returns the file name for the module that calls this function.

this_file_dir([stack_offset])

Returns the directory containing the module that calls this function.

unregister_executable(name)

DEPRECATED.