ocrd_utils.os module¶
Operating system functions.
-
ocrd_utils.os.
unzip_file_to_dir
(path_to_zip, output_directory)[source]¶ Extract a ZIP archive to a directory
-
ocrd_utils.os.
list_resource_candidates
(executable, fname, cwd='/home/kba/monorepo/ocrd-website/repo/core/docs', is_file=False, is_dir=False)[source]¶ Generate candidates for processor resources according to https://ocr-d.de/en/spec/ocrd_tool#file-parameters (except python-bundled)