cratepy.ioput.fileoperations

File and directory operations.

This module includes several functions to handle files and directories, as well as the functions that process the problem input data file and set the problem output directory.

Functions

make_directory

Create new directory.

remove_dirs

Remove unrequired directories and files in target directory.

set_input_datafile_path

Process input data file path.

set_problem_dirs

Set output directory structure and output files paths.

Functions

make_directory(dir[, option])

Create new directory.

remove_dirs(target_dir, required_dirnames)

Remove unrequired directories and files in target directory.

set_input_datafile_path(path)

Process input data file path.

set_problem_dirs(input_file_name, input_file_dir)

Set output directory structure.