arctichoke.path.manipulate_paths ================================ .. py:module:: arctichoke.path.manipulate_paths Functions --------- .. autoapisummary:: arctichoke.path.manipulate_paths.remove_non_empty_directory arctichoke.path.manipulate_paths.make_file_path Module Contents --------------- .. py:function:: remove_non_empty_directory(base_dir) Remove a non-empty directory and all its contents. Recursively delete all files and directories in the given path. :param base_dir: Relative path to the directory to be removed. :type base_dir: `str` .. py:function:: make_file_path(path) Create a file path. Create the specified directory structure if the given path doesn't exist. :param path: Relative path to make. :type path: `str` :returns: **path** -- The verified path to the data files. :rtype: `str` .. rubric:: Examples >>> make_file_path('datafiles/some/more/data/a_file.txt') 'datafiles/some/more/data/'